Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit ed57c96

Browse files
committed
1 parent ed93034 commit ed57c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_jwt_simple/jwt_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,5 @@ def _create_jwt(self, identity):
172172
jwt_data = self._get_jwt_data(identity)
173173
secret = config.encode_key
174174
algorithm = config.algorithm
175-
return jwt.encode(jwt_data, secret, algorithm).decode('utf-8')
175+
return jwt.encode(jwt_data, secret, algorithm)
176176

0 commit comments

Comments
 (0)