[FIX] auth_signup: force login to be an email when signup

bzr revid: chs@openerp.com-20140211132839-a4lzg0t7m7kl5ihr
This commit is contained in:
Christophe Simonis
2014-02-11 14:28:39 +01:00
parent 7d1ba3329c
commit 3954a2f9af
@@ -40,7 +40,7 @@
<div class="form-group field-login">
<label for="login" class="control-label">Your Email</label>
<input type="text" name="login" t-att-value="login" id="login" class="form-control"
<input type="email" name="login" t-att-value="login" id="login" class="form-control"
t-att-autofocus="'autofocus' if reset_without_token else None"
required="required" t-att-disabled="'disabled' if mode == 'reset' and token else None"/>
<input type="hidden" name="login" t-att-value="login" t-if="mode == 'reset' and token"/>