activate emails

This commit is contained in:
mmoser committed 2015-10-08 21:10:33 -05:00
1 parent 9f7f29f327
commit b407d40747
12 files changed
+66 -18

No files matched your search

-3
View File
@@ -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}!"