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/27d74f8e-3bf5-4ae5-b27c-70feec06f599n%40googlegroups.com.