Commit af22bfb9 authored by Marc Duez's avatar Marc Duez

server : disable register / lost password

parent 6587f902
......@@ -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}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment