Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
b908cd5b
Commit
b908cd5b
authored
Dec 12, 2016
by
RyanHerb
Browse files
server.org add instructions for resetting user passwords
parent
f2b7128b
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/server.org
View file @
b908cd5b
...
...
@@ -325,3 +325,10 @@ These installation instruction are for Ubuntu server 14.04
- Run unit tests (Simply a precaution: Continuous Integration renders this
step redundant but it's better to be sure)
- Check site functionnality
* Resetting user passwords
Currently there is not easy way of resetting a user's password.
The current method is the following:
`cd server/web2py`
`python web2py -S vidjil -M`
`db.auth_user[<user-id].update_record(password=CRYPT(key=auth.settings.hmac_key)('<password>')[0],reset_password_key='')`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment