I will add a setting to auth.settings but for now you can do
def user():
db.auth_user.email.writable=(request.args(0)!='profile')
return dict(form=auth())
On May 19, 7:37 pm, kachna <[email protected]> wrote:
> I have try it. In update it works fine but it is impossible to fill in
> email in registration.There is read only field too.
>
> On 19 kvě, 20:15, mdipierro <[email protected]> wrote:
>
> > On May 19, 12:09 pm, kachna <[email protected]> wrote:
>
> > > Hi,
> > > I have problem with Atuh.profile(). It allows user to change his/her
> > > email. My app uses email as username. So user is able to chage
> > > username and I lose verified contact to them.
>
> > good point. Try
>
> > db.auth_user.email.writable=False
>
> > > So, I thing that here is
> > > needed posibility to disable changing email in profile or confirm
> > > profile changes via email (like registration). I am not sure if this
> > > new feature or bug or I just missing somethig. Thank for your
> > > opinion.
>
> > > kachna