More tests for Omniauth.

This commit is contained in:
José Valim
2010-10-15 00:44:21 +02:00
parent 2f360bf201
commit 611261c64e
22 changed files with 198 additions and 390 deletions

View File

@@ -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