add password reset

Matthew Hodgson 2016-05-31 13:06:59 +01:00
parent 2acbbe74c1
commit 50a70755b0
1 changed files with 6 additions and 0 deletions

@ -22,3 +22,9 @@ What servers are currently participating in this room?
FROM current_state_events AS c FROM current_state_events AS c
INNER JOIN room_memberships AS m USING (room_id, event_id) INNER JOIN room_memberships AS m USING (room_id, event_id)
WHERE room_id = '!cURbafjkfsMDVwdRDQ:matrix.org' AND membership = 'join'; WHERE room_id = '!cURbafjkfsMDVwdRDQ:matrix.org' AND membership = 'join';
Manually resetting passwords:
scripts/hash_password
UPDATE users SET password_hash='$2a$12$CC5r6fEe......' where name='@user:domain.com';