Skip to content

Commit

Permalink
_create_identifier now returns a JSON serializeable value, fixes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominique Lederer committed Sep 28, 2012
1 parent 669b9cb commit 330843d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_login.py
Expand Up @@ -133,7 +133,7 @@ def _create_identifier():
request.headers.get("User-Agent")), 'utf8', errors='replace')
hsh = md5()
hsh.update(base.encode("utf8"))
return hsh.digest()
return hsh.hexdigest()


#: The default name of the "remember me" cookie (``remember_token``)
Expand Down

0 comments on commit 330843d

Please sign in to comment.