activate emails
This commit is contained in:
@ -14,9 +14,6 @@ class OauthsController < ApplicationController
|
||||
else
|
||||
begin
|
||||
@user = create_from(provider)
|
||||
# NOTE: this is the place to add '@user.activate!' if you
|
||||
# are using user_activation submodule
|
||||
|
||||
reset_session # protect from session fixation attack
|
||||
auto_login(@user)
|
||||
redirect_to root_path, notice: "Logged in from #{provider.titleize}!"
|
||||
|
Reference in New Issue
Block a user