Class: CommandTower::Auth::PasswordRecoverySession::CreateController
- Inherits:
-
CommandTower::ApplicationController
- Object
- ActionController::API
- CommandTower::ApplicationController
- CommandTower::Auth::PasswordRecoverySession::CreateController
- Defined in:
- app/controllers/command_tower/auth/password_recovery_session/create_controller.rb
Constant Summary
Constants inherited from CommandTower::ApplicationController
CommandTower::ApplicationController::AUTHENTICATION_EXPIRE_HEADER, CommandTower::ApplicationController::AUTHENTICATION_HEADER, CommandTower::ApplicationController::AUTHENTICATION_WITH_RESET
Instance Method Summary collapse
Methods inherited from CommandTower::ApplicationController
#authenticate_user!, #authenticate_user_without_email_verification!, #authorize_user!, #current_user, #safe_boolean
Instance Method Details
#create ⇒ Object
9 10 11 12 13 |
# File 'app/controllers/command_tower/auth/password_recovery_session/create_controller.rb', line 9 def create client_ip = CommandTower::Services::Auth::ClientIpResolver.call(request: request) result = CommandTower::Workflows::Auth::PasswordRecoverySession::CreateWorkflow.call(client_ip: client_ip) render_application_result(result) end |