#NEWLINE# def generate_password_reset_token( self , expiration = 3600 ) : #NEWLINE# #INDENT# '\n        Generate a password reset change token to email to an existing user.\n        ' #NEWLINE# s = Serializer ( current_app . config [ 'SECRET_KEY' ] , expiration ) #NEWLINE# return s . dumps ( { #NEWLINE# #INDENT# 'reset' : s . id , #NEWLINE# #UNINDENT# } )