Class: Stormpath::Rails::VerifyEmail::ShowController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Stormpath::Rails::VerifyEmail::ShowController
- Defined in:
- app/controllers/stormpath/rails/verify_email/show_controller.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/controllers/stormpath/rails/verify_email/show_controller.rb', line 5 def call begin account = VerifyEmailToken.new(params[:sptoken]).call login_the_account(account) if stormpath_config.web.register.auto_login respond_with_success rescue InvalidSptokenError, NoSptokenError => error respond_to_error(error) end end |