goss-resetpw.rb v0.1 -- for Lance, etc to reset passwords

This commit is contained in:
David Sainty 2024-10-09 03:26:12 +11:00
parent 9a9c510d57
commit 4ade531ca7

View File

@ -36,7 +36,7 @@ if ARGV.length != 2
end end
discourse_username = ARGV[0] discourse_username = ARGV[0]
discourse_username = ARGV[1] new_password = ARGV[1]
# search_topic_by_title(search_string) # search_topic_by_title(search_string)
GossamerResetPassword.new.reset_password(discourse_username, new_password) GossamerResetPassword.new.reset_password(discourse_username, new_password)