Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flask_jwt_simple/jwt_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,5 @@ def _create_jwt(self, identity):
jwt_data = self._get_jwt_data(identity)
secret = config.encode_key
algorithm = config.algorithm
return jwt.encode(jwt_data, secret, algorithm).decode('utf-8')
return jwt.encode(jwt_data, secret, algorithm)