[FIX] auth_signup: login & name readonly if signup with token
In the case of a signup with token, the user login already exists, and changing of login (email) is therefore not allowed. It's the same behavior than in the reset password view (`auth_signup.reset_password`) opw-648125
This commit is contained in:
parent
675d09c005
commit
0f03699956
|
@ -42,7 +42,9 @@
|
|||
<t t-call="web.login_layout">
|
||||
<form class="oe_signup_form" role="form" method="post" t-if="not message">
|
||||
|
||||
<t t-call="auth_signup.fields"/>
|
||||
<t t-call="auth_signup.fields">
|
||||
<t t-set="only_passwords" t-value="bool(token)"/>
|
||||
</t>
|
||||
|
||||
<p class="alert alert-danger" t-if="error">
|
||||
<t t-esc="error"/>
|
||||
|
|
Loading…
Reference in New Issue