Skip to content

Commit 33d12a2

Browse files
committed
Fix dupe methods in blacklist examples
refs #22
1 parent a3cee80 commit 33d12a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/blacklist.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def refresh():
5959
# Endpoint for revoking a token when logging out
6060
@app.route('/logout', method=['POST'])
6161
@jwt_required
62-
def login():
62+
def logout():
6363
jwt = get_raw_jwt()
6464
jti = jwt['jti']
6565
revoke_token(jti)

0 commit comments

Comments
 (0)