Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to reset pgAdmin4 password #631

Closed
2 tasks
the1forte opened this issue May 22, 2018 · 1 comment
Closed
2 tasks

Unable to reset pgAdmin4 password #631

the1forte opened this issue May 22, 2018 · 1 comment
Assignees
Milestone

Comments

@the1forte
Copy link

I'm submitting a ...

  • [x ] bug report
  • feature request
  • support request

Do you want to request a feature or report a bug?
report a bug

What is the current behavior?
When resetting the pgAdmin4 login password, you get a SMTP socket error and it is unable to complete the password reset. Example, when trying to reset the password for admin@admin.com from within pgAdmin4.

If the current behavior is a bug, please provide the steps to reproduce:
Login to pgAdmin4, then choose 'Change Password' from the pull-down menu for the user (admin@admin.com)

What is the expected behavior?
To allow the password change.

What is the motivation or use case for changing the behavior?
Password change policies require changing the password at a regular interval for admin users.

Other information (e.g. detailed explanation, related issues, suggestions how to fix, etc)
It appears this is coming from an attempt to email the user about the password change. Suggest to disable this email by default. You should be able to add the following to the config_local.py

SECURITY_SEND_REGISTER_EMAIL = False
SECURITY_SEND_PASSWORD_CHANGE_EMAIL = False
SECURITY_SEND_PASSWORD_RESET_NOTICE_EMAIL = False

Please tell us about your environment:

  • Operating System: centos7
  • Container Image Tag: 1.8.2
  • PostgreSQL Version: 10.3
  • Platform (Docker, Kubernetes, OpenShift): K8s
  • Platform Version: 1.7.1
@jmccormick2001
Copy link
Contributor

merged into master for 2.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants