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!')
show post in topic
Related topics
Topic
Replies
Views
Activity
Reset password at command line
Support
4
544
March 23, 2024
Reset user password by Admin
Support
10
13997
October 5, 2022
Setting a password for a user with ruby
Development
4
623
February 16, 2020
Reset password with custom ruby file
Development
9
839
September 27, 2023
Update Password Encryption Method
Development
6
158
July 16, 2024