mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-06 20:53:35 +00:00
Fix bug in gam oauth create
This commit is contained in:
@ -10465,6 +10465,8 @@ def doOAuthCreate():
|
|||||||
invalidChoiceExit(uscope, API.getClientScopesURLs(GC.Values[GC.TODRIVE_CLIENTACCESS]), True)
|
invalidChoiceExit(uscope, API.getClientScopesURLs(GC.Values[GC.TODRIVE_CLIENTACCESS]), True)
|
||||||
else:
|
else:
|
||||||
unknownArgumentExit()
|
unknownArgumentExit()
|
||||||
|
if len(scopes) == 0:
|
||||||
|
scopes = None
|
||||||
doOAuthRequest(scopes, login_hint)
|
doOAuthRequest(scopes, login_hint)
|
||||||
|
|
||||||
def exitIfNoOauth2Txt():
|
def exitIfNoOauth2Txt():
|
||||||
|
Reference in New Issue
Block a user