fix: tests
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
class Microsoft::CallbacksController < OauthCallbackController
|
||||
private
|
||||
|
||||
def provider_name
|
||||
'microsoft'
|
||||
end
|
||||
|
||||
def handle_response
|
||||
inbox, already_exists = find_or_create_inbox
|
||||
::Redis::Alfred.delete(users_data['email'].downcase)
|
||||
@@ -10,12 +16,6 @@ class Microsoft::CallbacksController < OauthCallbackController
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def provider_name
|
||||
'microsoft'
|
||||
end
|
||||
|
||||
def oauth_client
|
||||
app_id = GlobalConfigService.load('AZURE_APP_ID', nil)
|
||||
app_secret = GlobalConfigService.load('AZURE_APP_SECRET', nil)
|
||||
|
||||
Reference in New Issue
Block a user