|
|
|
@ -563,7 +563,7 @@ class MyPasswordChangeSerializer(PasswordChangeSerializer): |
|
|
|
|
password=self.data['new_password1'], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
if utils_auth.is_configured(): |
|
|
|
|
if utils_auth.wiki_is_configured(): |
|
|
|
|
if utils_auth.set_wiki_password(data) != 200: |
|
|
|
|
msg = 'Problem connecting to Auth server: set.' |
|
|
|
|
utils.alert_tanner(msg) |
|
|
|
@ -604,7 +604,7 @@ class MyPasswordResetConfirmSerializer(PasswordResetConfirmSerializer): |
|
|
|
|
password=self.data['new_password1'], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
if utils_auth.is_configured(): |
|
|
|
|
if utils_auth.wiki_is_configured(): |
|
|
|
|
if utils_auth.set_wiki_password(data) != 200: |
|
|
|
|
msg = 'Problem connecting to Auth server: set.' |
|
|
|
|
utils.alert_tanner(msg) |
|
|
|
|