From cf052d138bb4a2bae4e38fc874fc8353ac80aafe Mon Sep 17 00:00:00 2001 From: Chris Veilleux Date: Tue, 2 Apr 2019 17:30:10 -0500 Subject: [PATCH] fixed an incorrect config --- api/sso/sso_api/endpoints/password_reset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/sso/sso_api/endpoints/password_reset.py b/api/sso/sso_api/endpoints/password_reset.py index d4689729..3afbe4ae 100644 --- a/api/sso/sso_api/endpoints/password_reset.py +++ b/api/sso/sso_api/endpoints/password_reset.py @@ -30,7 +30,7 @@ class PasswordResetEndpoint(SeleneEndpoint): def _generate_reset_token(self): reset_token = AuthenticationToken( - self.config['ACCESS_SECRET'], + self.config['RESET_SECRET'], ONE_HOUR ) reset_token.generate(self.account.id)