Discourse Meta
How to reset password for users in PostgreSQL database
Support
Self-hosting
supermathie
(Michael Brown)
November 25, 2022, 7:26pm
3
From the rails console:
User.find_by(username: 'gollum').update!(password: 'shiiiire!-BAGGINS!')
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Reset password at command line
Support
4
505
March 23, 2024
Reset user password by Admin
Support
10
13927
October 5, 2022
Setting a password for a user with ruby
Dev
4
606
February 16, 2020
Reset password with custom ruby file
Dev
9
790
September 27, 2023
Update Password Encryption Method
Dev
6
122
July 16, 2024