mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
More tests for Omniauth.
This commit is contained in:
@@ -19,6 +19,7 @@ class Devise::RegistrationsController < ApplicationController
|
||||
sign_in_and_redirect(resource_name, resource)
|
||||
else
|
||||
set_flash_message :notice, :inactive_signed_up, :reason => resource.inactive_message.to_s
|
||||
expire_session_data_after_sign_in!
|
||||
redirect_to after_inactive_sign_up_path_for(resource)
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user