Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
af22bfb9
Commit
af22bfb9
authored
Sep 09, 2014
by
Marc Duez
Browse files
server : disable register / lost password
parent
6587f902
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/views/default/user.html
View file @
af22bfb9
...
...
@@ -10,11 +10,11 @@
{{if request.args(0)=='login':}}
{{if not 'register' in auth.settings.actions_disabled:}}
<button
class=
"btn"
onclick=
"db.call('default/user/register')"
>
Register
</button>
{{#
<button
class=
"btn"
onclick=
"db.call('default/user/register')"
>
Register
</button>
}}
{{pass}}
{{if not 'request_reset_password' in auth.settings.actions_disabled:}}
<button
class=
"btn"
onclick=
"db.call('default/user/request_reset_password')"
>
Lost Password
</button>
{{#
<button
class=
"btn"
onclick=
"db.call('default/user/request_reset_password')"
>
Lost Password
</button>
}}
{{pass}}
{{pass}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment