done, Issue 1667 <https://code.google.com/p/web2py/issues/detail?id=1667>
thanks and best regards,
stifan
On Friday, September 6, 2013 7:32:57 AM UTC+7, Massimo Di Pierro wrote:
>
> I agree. Please open a ticket. This can be done easily.
>
> On Thursday, 5 September 2013 18:38:36 UTC-5, 黄祥 wrote:
>>
>> just an idea, why not put this as default feature in web2py, i mean
>> in default/user/profile.
>>
>> best regards,
>> stifan
>>
>> On Saturday, August 10, 2013 3:18:59 PM UTC+7, Massimo Di Pierro wrote:
>>>
>>> This is what I would have done. Some caveats:
>>>
>>> 1) Use a SQLFORM.factory and not a SQLFORM because you do not want the
>>> value of the password field to be stored in db
>>> 2) You can validate the password using validators (I think)
>>>
>>>
>>> Field('password','passwrod',requires=(IS_CRYPT(),IS_EQUAL_TO((db.auth_user[user_id].password,None))))
>>>
>>>
>>> On Saturday, 10 August 2013 00:24:18 UTC-5, Mark Li wrote:
>>>>
>>>> For anyone else wondering how to do this, I decided to add a "password"
>>>> field and have onvalidation check the password.
>>>>
>>>> This link gave me the idea for checking the text password against the
>>>> encrypted pw:
>>>> https://groups.google.com/forum/#!msg/web2py/eqbXmseZ6XA/abnGIMevI6wJ
>>>>
>>>> On Wednesday, August 7, 2013 10:18:17 PM UTC-7, Mark Li wrote:
>>>>>
>>>>> I currently have a "settings" page, where a form created by
>>>>> auth.profile() is displayed. I want to force the user to re-enter his/her
>>>>> password in order to save any changes they make to their profile (such as
>>>>> email, username, etc).
>>>>>
>>>>> Not really sure the best way to go about this, all the authentication
>>>>> stuff I've dealt with involves logging the user in with both email and
>>>>> pw.
>>>>> In this case, the user is already logged in, but I just want them to
>>>>> reenter their password before changing important profile information.
>>>>>
>>>>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.