wiki:UserGuidelines/Admin

Version 19 (modified by Fran Boon, 9 years ago) ( diff )

--

The Sahana Eden Admin Guide

These topics are available:

User Management

Approve a Pending User's registration

/eden/admin/user

Find user & remove the 'Pending' flag

Reset password from CLI

If you have CLI access to an instance, but don't know the password for an admin login then you can reset a password:

w2p
import hmac
import hashlib
alg = hashlib.sha512
hmac_key = auth.settings.hmac_key
password = hmac.new(hmac_key, "newpassword", alg).hexdigest()
table = db.auth_user
db(table.email == "myemail@domain.com").update(password = password)

See Also

Note: See TracWiki for help on using the wiki.