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

Need ability to change password #167

Closed
jaxn opened this issue Feb 22, 2020 · 8 comments · Fixed by #443
Closed

Need ability to change password #167

jaxn opened this issue Feb 22, 2020 · 8 comments · Fixed by #443
Labels
bug Something isn't working right good first issue Good for newcomers

Comments

@jaxn
Copy link

jaxn commented Feb 22, 2020

Installed on heroku this morning. Set a haphazard password since I was just checking it out.

After setting it up a bit, I realized there doesn't seem to be a way to reset or change the password.

@timgl
Copy link
Collaborator

timgl commented Feb 22, 2020

Thanks for filing this bug, you're absolutely right and it's now on the list :)

If need to do this now, you can

  • Go to your app on Heroku
  • Click "More" in the top right
  • Click "run console"
  • Enter python manage.py changepassword [your email]
  • Change your password

Let me know if that worked

@timgl timgl added good first issue Good for newcomers bug Something isn't working right labels Feb 22, 2020
@jaxn
Copy link
Author

jaxn commented Feb 22, 2020

Thanks for the workaround. It worked great!

I was trying to fumble my way through using the django-admin shell to find and update the user record.

timgl added a commit that referenced this issue Apr 5, 2020
@gzog
Copy link
Contributor

gzog commented Apr 5, 2020

@timgl I think I didn't reference this correctly in the PR. Can we close this issue now that the PR got merged?

@timgl
Copy link
Collaborator

timgl commented Apr 5, 2020

Yep

@timgl timgl closed this as completed Apr 5, 2020
yakkomajuri pushed a commit that referenced this issue Oct 1, 2021
@toughyear
Copy link

@timgl how can I use your solution if I have deployed PostHog on AWS EKS?
A step-by-step solution would be really helpful. I've tried to connect to the EKS instance and use the instruction python manage.py changepassword [your email] but it can't find the manage.py file.

@timgl
Copy link
Collaborator

timgl commented Jan 3, 2022

Hey @toughyear, we now allow you to change your password if you're logged in, or to select 'Forgot your password?'. For this you'll need to add SMTP servers as documented here.

@toughyear
Copy link

Once you have set these environment variables, restart your server and test sending an email (e.g. request a password reset).

@timgl Do we have any documentation for restarting the server for the self-deployed Kubernetes cluster?

Thanks

@Twixes
Copy link
Collaborator

Twixes commented Jan 10, 2022

Hi! If you've added the Kubernetes cluster to your local kubeconfig, you should be able to run kubectl rollout restart deploy in the relevant namespace. Does that solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants