Thanks Martin, it's a easy solution.
On Jun 6, 2013 3:38 PM, "Marin Pranjić" wrote:
> With this line you will disable edit of email field:
> db.auth_user.email.writable = False
>
> Email will still be printed in form but read only.
>
> You can remove it completely from form by adding:
>
> db.auth
With this line you will disable edit of email field:
db.auth_user.email.writable = False
Email will still be printed in form but read only.
You can remove it completely from form by adding:
db.auth_user.email.readable = False
You should put this lines conditionally, for example in default.py us
Hello guys,
In my app I use email as login user name, but I found in
app/default/user/profile the email can be modified. This seems to be a risk
either the user may lose his account by accidentally change email or hacked
by others in some way. The solution I can think of is customize the profil
3 matches
Mail list logo