Description:
fixed login error message recurring problem
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r229:c28a214e4637 - - 1 file changed: 1 inserted, 1 deleted
@@ -21,7 +21,7 | |||||
|
21 | def login |
|
21 | def login |
|
22 | saved_notice = flash[:notice] |
|
22 | saved_notice = flash[:notice] |
|
23 | reset_session |
|
23 | reset_session |
|
24 | - flash[:notice] = saved_notice |
|
24 | + flash.now[:notice] = saved_notice |
|
25 |
|
25 | ||
|
26 | # EXPERIMENT: |
|
26 | # EXPERIMENT: |
|
27 | # Hide login if in single user mode and the url does not |
|
27 | # Hide login if in single user mode and the url does not |
You need to be logged in to leave comments.
Login now