Class: Stormpath::Rails::Login::CreateController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Stormpath::Rails::Login::CreateController
- Defined in:
- app/controllers/stormpath/rails/login/create_controller.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'app/controllers/stormpath/rails/login/create_controller.rb', line 7 def call begin form.save! if account_login? respond_with_success rescue Stormpath::Error, LoginForm::FormError, SocialLoginForm::FormError, OrganizationForm::FormError, OrganizationResolver::Error => error respond_with_error(error) end end |