activate emails

This commit is contained in:
2015-10-08 21:10:33 -05:00
parent 9f7f29f327
commit b407d40747
12 changed files with 66 additions and 18 deletions

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}!"