Sha256: a1e1490d65a530eacd5a346722e0c611f8a600b90230516337bc064dd7e57c40
Contents?: true
Size: 296 Bytes
Versions: 6
Compression:
Stored size: 296 Bytes
Contents
module Socialite class UsersController < SocialiteController unloadable def new if current_user redirect_to main_app.root_path, notice: I18n.t('socialite.already_registered') end @user = env['omniauth.identity'] ||= Socialite.user_class.new end end end
Version data entries
6 entries across 6 versions & 1 rubygems