we do not define auth providers for builtins

This commit is contained in:
Sam 2016-08-29 11:12:24 +10:00
parent 22b8c0d44e
commit 0303080586
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Users::OmniauthCallbacksController < ApplicationController
@auth_result.authenticator_name = authenticator.name
complete_response_data
if provider && (provider.full_screen_login || cookies['fsl'])
if (provider && provider.full_screen_login) || cookies['fsl']
cookies.delete('fsl')
cookies['_bypass_cache'] = true
flash[:authentication_data] = @auth_result.to_client_hash.to_json