mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-10 14:43:34 +00:00
login_hint, not hint
This commit is contained in:
@ -6754,11 +6754,11 @@ def getUserAttributes(i, cd, updateCmd=False):
|
|||||||
|
|
||||||
def doCreateProject():
|
def doCreateProject():
|
||||||
try:
|
try:
|
||||||
hint = sys.argv[3]
|
login_hint = sys.argv[3]
|
||||||
except IndexError:
|
except IndexError:
|
||||||
while True:
|
while True:
|
||||||
hint = raw_input(u'What is your G Suite admin email address? ')
|
login_hint = raw_input(u'What is your G Suite admin email address? ')
|
||||||
if hint.find(u'@') == -1:
|
if login_hint.find(u'@') == -1:
|
||||||
print u'Error: that is not a valid email address'
|
print u'Error: that is not a valid email address'
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
@ -6772,7 +6772,7 @@ def doCreateProject():
|
|||||||
client_secret=u'qM3dP8f_4qedwzWQE1VR4zzU'
|
client_secret=u'qM3dP8f_4qedwzWQE1VR4zzU'
|
||||||
flow = oauth2client.client.OAuth2WebServerFlow(client_id=client_id,
|
flow = oauth2client.client.OAuth2WebServerFlow(client_id=client_id,
|
||||||
client_secret=client_secret, scope=scope, redirect_uri=oauth2client.client.OOB_CALLBACK_URN,
|
client_secret=client_secret, scope=scope, redirect_uri=oauth2client.client.OOB_CALLBACK_URN,
|
||||||
user_agent=GAM_INFO, access_type=u'online', response_type=u'code', hint=hint)
|
user_agent=GAM_INFO, access_type=u'online', response_type=u'code', login_hint=login_hint)
|
||||||
flags = cmd_flags(noLocalWebserver=GC_Values[GC_NO_BROWSER])
|
flags = cmd_flags(noLocalWebserver=GC_Values[GC_NO_BROWSER])
|
||||||
storage_dict = {}
|
storage_dict = {}
|
||||||
storage = DictionaryStorage(storage_dict, u'credentials')
|
storage = DictionaryStorage(storage_dict, u'credentials')
|
||||||
|
Reference in New Issue
Block a user