Make the sub
a string
In the default sub generator. The spec says "The sub value is a case sensitive string."
This commit is contained in:
parent
00f30dabbf
commit
0882c5c63b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class DefaultSettings(object):
|
|||
OPTIONAL.
|
||||
"""
|
||||
def default_sub_generator(user):
|
||||
return user.id
|
||||
return str(user.id)
|
||||
|
||||
return default_sub_generator
|
||||
|
||||
|
|
Loading…
Reference in a new issue