diff options
author | Azul <azul@leap.se> | 2012-12-07 14:24:10 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-07 14:24:10 +0100 |
commit | 7273dab05b68f033de26bb68cca4b72c17b9908a (patch) | |
tree | ba55d125eb7989ac2d946b2737891dfd429e8d9e /users/app/assets/javascripts | |
parent | b6c32177efa351e6550840ad508b59c4e722fbb6 (diff) |
fixed signup and removed flash that was not getting displayed
I also tried flash.keep(:notice) but that did not help - not sure how to keep the flash until the root url has rendered.
Diffstat (limited to 'users/app/assets/javascripts')
-rw-r--r-- | users/app/assets/javascripts/users.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/assets/javascripts/users.js.coffee b/users/app/assets/javascripts/users.js.coffee index 9a2af7a..0595292 100644 --- a/users/app/assets/javascripts/users.js.coffee +++ b/users/app/assets/javascripts/users.js.coffee @@ -3,7 +3,7 @@ preventDefault = (event) -> srp.session = new srp.Session() srp.signedUp = -> - srp.login + srp.login() srp.loggedIn = -> window.location = '/' |