Class: LunarShell::Satellites::PasswdController
Constant Summary
LunarShell::SatellitesController::PUBLIC
Instance Method Summary
collapse
Instance Method Details
#confirm_password ⇒ Object
11
12
|
# File 'app/controllers/lunar_shell/satellites/passwd_controller.rb', line 11
def confirm_password
end
|
#create ⇒ Object
14
15
16
17
18
19
20
|
# File 'app/controllers/lunar_shell/satellites/passwd_controller.rb', line 14
def create
@message = if user_auth && update_password!
'Password updated.'
else
'try again'
end
end
|
#new_password ⇒ Object
8
9
|
# File 'app/controllers/lunar_shell/satellites/passwd_controller.rb', line 8
def new_password
end
|
#run ⇒ Object
4
5
6
|
# File 'app/controllers/lunar_shell/satellites/passwd_controller.rb', line 4
def run
render 'no_user_error' unless current_user
end
|