updates color generation, tries fixing credentials bug
- credentials still lost the refresh token after a certain event - this was now fixed by completely removing any saves past the first one - https://trello.com/c/iORYLYHl/44-1-check-on-credentials - Color Coding is now updated - fixed an incorrect color mapping in the colors.json - updates some calls to functions to correctly get the natural colors - the incorrect red -> yellow mapping might have to do with the previous credentials error
This commit is contained in:
@ -116,7 +116,9 @@ def callback():
|
||||
print("login:" + user.id)
|
||||
|
||||
login_user(user)
|
||||
user.setGoogleCredentials(credentials)
|
||||
# TODO currently not using the credentials anymore
|
||||
if user.getGoogleCredentials() is None:
|
||||
user.setGoogleCredentials(credentials)
|
||||
return flask.redirect(flask.url_for('index'))
|
||||
|
||||
@app.route("/logout")
|
||||
|
Reference in New Issue
Block a user