rengine icon indicating copy to clipboard operation
rengine copied to clipboard

i forgot the password

Open spionasee opened this issue 2 years ago • 9 comments

can i reset the password?

spionasee avatar Sep 23 '23 01:09 spionasee

👋 Hi @spionasee, Issues is only for reporting a bug/feature request. Please read documentation before raising an issue https://rengine.wiki For very limited support, questions, and discussions, please join reNgine Discord channel: https://discord.gg/azv6fzhNCE Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.

github-actions[bot] avatar Sep 23 '23 01:09 github-actions[bot]

Don't think so, but that'll be a possibility with 2.0, see:

  • https://github.com/yogeshojha/rengine/commit/d418ae141546d6547d8a5efe25f9f7da91578896
  • https://github.com/yogeshojha/rengine/commit/78e2c8114ede6a6ae246d592c1a4df522f3abdc8

AnonymousWP avatar Sep 25 '23 10:09 AnonymousWP

in case it helps anyone, you could just use the built-in django method: docker-compose exec web python3 manage.py changepassword

HG00 avatar Jan 10 '24 17:01 HG00

in case it helps anyone, you could just use the built-in django method: docker-compose exec web python3 manage.py changepassword

@AnonymousWP @yogeshojha Maybe we could put this in the MakeFile ?

psyray avatar Jan 12 '24 00:01 psyray

in case it helps anyone, you could just use the built-in django method: docker-compose exec web python3 manage.py changepassword

@AnonymousWP @yogeshojha Maybe we could put this in the MakeFile ?

Yep we can.

AnonymousWP avatar Jan 13 '24 12:01 AnonymousWP

in case it helps anyone, you could just use the built-in django method: docker-compose exec web python3 manage.py changepassword

I just tried this, but it requires you to have a root user and thus doesn't work for another user, neither if you use a username as parameter of that command.

AnonymousWP avatar Jan 22 '24 19:01 AnonymousWP

I just tried this, but it requires you to have a root user and thus doesn't work for another user, neither if you use a username as parameter of that command.

Would you ever need to reset a non-root user password using an emergency reset method? I would have thought for non-root you just ask the root user to change it (someone with the ability to run manage.py is probably a one-liner away from root user anyway)

HG00 avatar Jan 22 '24 19:01 HG00

Personally, when I install reNgine, I never leave it blank. I always use my own username, and maybe others do the same.

AnonymousWP avatar Jan 22 '24 19:01 AnonymousWP

Anyway, according to Django documentation it should work: https://docs.djangoproject.com/en/5.0/topics/auth/default/#changing-passwords

AnonymousWP avatar Jan 22 '24 19:01 AnonymousWP