2023-01-09 06:41:16 +00:00
|
|
|
class Settings::AccountController < SettingsController
|
2022-12-21 11:10:50 +00:00
|
|
|
|
|
|
|
def index
|
|
|
|
end
|
|
|
|
|
|
|
|
def reset_password
|
|
|
|
current_user.send_reset_password_instructions
|
|
|
|
sign_out current_user
|
|
|
|
msg = "We have sent you an email with a link to reset your password."
|
|
|
|
redirect_to check_your_email_path, notice: msg
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|