File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ def login():
2121 password = params .get ('password' , None )
2222
2323 if not username :
24- return jsonify ({"msg" : "Missing username paramater " }), 400
24+ return jsonify ({"msg" : "Missing username parameter " }), 400
2525 if not password
26- return jsonify ({"msg" : "Missing password paramater " }), 400
26+ return jsonify ({"msg" : "Missing password parameter " }), 400
2727
2828 if username != 'test' or password != 'test' :
2929 return jsonify ({"msg" : "Bad username or password" }), 401
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ def token_in_blacklist_loader(self, callback):
304304 """
305305 Sets the callback function for checking if a token has been revoked.
306306
307- This callback function must take one paramater , which is the full
307+ This callback function must take one parameter , which is the full
308308 decoded token dictionary. This should return True if the token has been
309309 blacklisted (or is otherwise considered revoked, or an invalid token),
310310 False otherwise.
You can’t perform that action at this time.
0 commit comments