Thank you Carlos that works perfectly.

Il giorno lunedì 26 ottobre 2020 alle 02:55:05 UTC+1 [email protected] 
ha scritto:

> Try this:
>
> cd ~/apps/yourapp
> source env/bin/activate
> cd web2py/
> python -c "from gluon.main import save_password; 
> save_password(raw_input('admin password: '), <port_assigned_to_your_app>)"
>
> Note: You can find your assigned port with the command  "ls"  inside of 
> the web2py path and looking for the file:  
>  parameters_<port_assigned_to_your_app>.py
>
>
>
> El miércoles, 21 de octubre de 2020 a las 12:03:04 UTC-7, Jose C escribió:
>
>> Can you try this:
>>
>> Edit the parameters_<portnum>.py file that was created and prepend 
>> 'md5$$' to the string of alphanum characters.
>> So it should now read (where the dots are the original text):
>> password='md5$$...........................................' 
>>
>> then stop and restart your app and see if you can login.
>>
>> I'm just wondering if web2py is interpreting the hash as pbkdf2 instead 
>> of md5 (which is what the script creates).
>>
>>
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/ef832094-5ac9-4bc9-9309-4a82f25af9b7n%40googlegroups.com.

Reply via email to