activate emails
This commit is contained in:
1 parent
9f7f29f327
commit
b407d40747
12 files changed
+66
-18
No files matched your search
@@ -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