Skip to content

Commit

Permalink
Unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
onejgordon committed May 7, 2017
1 parent bd6bff6 commit f21d061
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion authorized.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def check_login(self, *args, **kwargs):
# Interpret as User ID
user = User.get_by_id(int(_user_id))
elif '@' in _user_id:
# Interpret as user amil
# Interpret as user email
user = User.GetByEmail(_user_id)
if user and not user.checkPass(_pass):
user = None
Expand Down
4 changes: 0 additions & 4 deletions src/js/constants/client_secrets.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@ var client_secrets = {

// Match with settings/secrets.py and GCP console
G_OAUTH_CLIENT_ID: "######.XXXXXXXXXXXX.apps.googleusercontent.com",
G_OAUTH_CLIENT_SECRET: "XXXXXXXXXXXX",
GOOGLE_API_KEY: "XXXXXXXXXXXX",

// Pocket
POCKET_CONSUMER_KEY: "",

// Goodreads
GR_API_KEY: ""
};
Expand Down

0 comments on commit f21d061

Please sign in to comment.