On Tue, Nov 22, 2011 at 4:11 PM, Anthony <abasta...@gmail.com> wrote:
> I haven't been following the discussion. Do you want to remove the CRYPT
> validator? If so, I think something like:
> db.auth_user.password.requires = None
>
This seems to have fixed the issue, thank you both

Matt

> Anthony
>
> On Tuesday, November 22, 2011 3:57:18 PM UTC-5, Matt wrote:
>>
>> On Tue, Nov 22, 2011 at 3:50 PM, Anthony <abas...@gmail.com> wrote:
>> > On Tuesday, November 22, 2011 3:00:46 PM UTC-5, Matt wrote:
>> >>
>> >> Aren't passwords always hashed when entered in the database?
>> >
>> > Not necessarily. You have to have the CRYPT() validator on the password
>> > field for hashing. It is there by default, but is not required and could
>> > be
>> > removed.
>> > Anthony
>> Well, temporarily I have removed the password validation line:
>> password = table_user[passfield].validate(password)[0]
>>
>> and everything works, but this is not ideal, as I would prefer to not
>> have project-specific changes to gluon. Is there another solution for
>> this?
>>
>> Matt
>

Reply via email to