mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 13:43:35 +00:00
Eliminate 'email' scope, may sure that selected_scopes has unique elements
This commit is contained in:
@ -8871,6 +8871,7 @@ def doRequestOAuth():
|
||||
for api in all_apis.keys():
|
||||
GM_Globals[GM_GAMSCOPES_BY_API][api] = all_apis[api][u'use_scopes']
|
||||
selected_scopes += all_apis[api][u'use_scopes']
|
||||
selected_scopes = set(selected_scopes)
|
||||
if not selected_scopes:
|
||||
print u'YOU MUST SELECT AT LEAST ONE SCOPE'
|
||||
continue
|
||||
|
Reference in New Issue
Block a user