fixed redirection in login page, thanks Osman Masood
This commit is contained in:
1 parent
60093e81b0
commit
9557c46dcf
2 files changed
+2
-2
No files matched your search
@@ -4,7 +4,7 @@
|
||||
{{
|
||||
if request.args(0)=='login':
|
||||
if not 'register' in auth.settings.actions_disabled:
|
||||
form.add_button(T('Register'),URL(args='register'),_class='btn')
|
||||
form.add_button(T('Register'),URL(args='register', vars={'_next': request.vars._next} if request.vars._next else None),_class='btn')
|
||||
pass
|
||||
if not 'request_reset_password' in auth.settings.actions_disabled:
|
||||
form.add_button(T('Lost Password'),URL(args='request_reset_password'),_class='btn')
|
||||
|
||||
Reference in new issue
Block a user