mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-03-02 22:57:22 -05:00
Unable to update password through settings menu #1061
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Tooling
Area: UI
Area: Update API
Priority: High
Priority: Low
Priority: Medium
Status: Cannot Reproduce
Status: Confirmed
Status: Help Wanted
Status: In Progress
Status: Indexer - need invite
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
lidarr-pull
radarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Prowlarr#1061
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rmullin7286 on GitHub (Jul 1, 2024).
Is there an existing issue for this?
Current Behavior
I setup prowlarr before authentication was required. Recently, after an update, I was required to set my password. Something went wrong in the process and after doing so, it appears that the password somehow got hashed twice, so prowlarr believes that my password is the result of hashing the password (a long string ending in =).
After temporarily bypassing authentication, I navigated to the settings menu where I re-input my password for authentication. Upon saving, it appears that the password resets back to the invalid setting and I'm unable to update my password.
Expected Behavior
When I update my password in the general settings menu, it should be updated on the server.
Steps To Reproduce
I was able to reproduce this pretty trivially by copying my database and configuration from my server to a local machine I'm using for debugging and poking around in the code.
Environment
What branch are you running?
Master
Trace Logs?
prowlarr.trace.txt
Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.
trace- that are relevant and show this issue.@mynameisbogdan commented on GitHub (Jul 1, 2024):
How are you in fact using Prowlarr? Because you're saying docker but actually it's a development build.
Also add some normal steps to reproduce because poking around in the code isn't something eligible.
@rmullin7286 commented on GitHub (Jul 1, 2024):
Apologies, I seemed to have gotten my two instances of prowlarr mixed up when creating the ticket. I've revised the version numbers in the description. The actual version I'm using is 1.19.0.4568.
As for reproduction, here are the steps I take for reproducing locally:
bpk59dunwhZdZIi+GEkVOOgizkf3v3pjR8dtEfsDHRA=.As for getting a repro case for you, I'm not sure short of zipping and uploading my full configuration directory, although I'm unsure what kind of information that could leak (plain text passwords, etc.).
@mynameisbogdan commented on GitHub (Jul 1, 2024):
It's expected for the filled password to be hashed to allow you updating the host settings since it's a PUT request.
As long you enter a new non-hashed value and make sure it's the same in the password confirmation, there should not be any issues.
When you used a development build did you use a new db or the old one?
I'm going to close since I can't reproduce according to your steps to reproduce. You can use https://wiki.servarr.com/radarr/faq#help-i-have-locked-myself-out to reset your password.
@mynameisbogdan commented on GitHub (Jul 4, 2024):
Had my mind on this, and thanks to this the password manager think it's a new password. There's room for improvement for UX and DX, but I still how it doesn't allow you to update your password to be honest.