mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #341] Logging in after changing password leads to broken settings #293
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#293
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 @HanPrower on GitHub (Apr 26, 2019).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/341
Originally assigned to: @IrAlfred, @Baraka24 on GitHub.
🐛 Bugreport
After changing account password with
php ./scripts/update_password.php username passwordcan't login without deleting cookies. Once logged in settings of account no longer seem to be attached.Changing the password back to what it was before allows settings to load correctly.
I see no way to change the password internally.
Version & Environment
Commit:
github.com/jasonmunro/cypht@8f76381981OS: Arch Linux (rolling)
Auth: Database (mariadb) + Redis
Environment:
Steps to reproduce
php ./scripts/update_password.php username password(the password hash in the db does change)I did see https://github.com/jasonmunro/cypht/issues/98, but it doesn't seem relevant to this.
@jasonmunro commented on GitHub (May 6, 2019):
Hello, thanks for the feedback. A couple thoughts:
We could also improve that cli script to take both the old and new password so that it can decrypt then re-encrypt settings so this does not happen when using it.
@HanPrower commented on GitHub (May 7, 2019):
Hm, not sure how I missed the Settings -> Password. I swear it wasn't there before... probably just blind.
When you do use that form, however, it does throw an error. When looking at the error log it seems related to a missing translation. The password does change though.
@jasonmunro commented on GitHub (May 7, 2019):
We log missing translations as a way to easily know what needs to be added to the translation files, but those messages are information only and will not cause bad behavior (aside from not being translated properly).
@marclaporte commented on GitHub (Feb 27, 2021):
Lost settings reminds me of https://github.com/jasonmunro/cypht/issues/349
@marclaporte commented on GitHub (Mar 9, 2021):
Likely fixed by
github.com/jasonmunro/cypht@0eef136450@jasonmunro commented on GitHub (Mar 9, 2021):
unfortunately it will not effect that. The CLI script will need quite a bit more work to correctly maintain the settings on password change including the requirement that the old password be submitted as an argument
@jasonmunro commented on GitHub (Mar 10, 2021):
I am going to keep this open as it is legit - however it is not a bug as I built this as a last resort for restoring login. We can address this over time (changing passwords in the app successfully converts settings for non-emergency situations) but not hold up new releases :)
@marclaporte commented on GitHub (May 7, 2024):
@HanPrower
Please retest, as a lot has changed since you reported this issue. Notably, we now have 3 active branches and recently released Cypht 2.0.0