beatles1 / simple-otpmanager-browser

6 stars 1 forks source link

Extention says incorrect password if logged in as a different user #3

Closed JoshuaPettus closed 8 months ago

JoshuaPettus commented 8 months ago

Here is weird little quirk. So I have the browser extension logged in as my main user, and it stores the password for the database. That works. But if in the same browser I'm physically logged in to NC as a different user, like my admin user, and I click on the browser extension, It has difficulty logging in as the first user and says incorrect password on the database.

Or maybe it's using the new session to log in as the second user, and is then trying to log into the second user's database (only I don't have a database for that user). Hard to tell.

Still, shouldn't it be trying to log in with the NC app password credentials regardless of what the current browser session is using?

beatles1 commented 8 months ago

Thanks for the report.

Had a look and yep, I just missed off omitting credentials from that request to check the password. Will get it fixed and updated.

beatles1 commented 8 months ago

Resolved in v0.31 just released.

JoshuaPettus commented 8 months ago

Thank you! That fixed it