mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-24 20:46:04 +03:00
[GH-ISSUE #1871] 🐛 [Bug] Settings Save page save permanently - not working cannot explicitly allow it #732
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#732
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 @PeopleInside on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1871
🐛 Bug
On my .env file I have:
DEFAULT_SETTING_NO_PASSWORD_SAVE=trueBut If I made settings change, for example the language and save the page then going into ?page=save I'm asked for password and some settings appear to be saved because an edit has been done.
I'm in production mode.
For save settings I have to save the page after edit settings (for example language) then to made permanent I need to go at
?page=saveinsert password and save.As I set in the .env file
DEFAULT_SETTING_NO_PASSWORD_SAVE=trueI should not going to the page ?page=save to save.
If I dont do this all settings edit are lost after logout
Version & Environment
Version 2.6.0 (17 February 2026)
OS: Ubuntu 24 LTS
@IrAlfred commented on GitHub (Feb 18, 2026):
@PeopleInside
The environment variable
DEFAULT_SETTING_NO_PASSWORD_SAVEdoes not control whether user preferences/settings need to be saved via the?page=savepage. This setting only controls whether email account passwords (IMAP/SMTP) are persisted between sessions.What This Setting Actually Does
When
DEFAULT_SETTING_NO_PASSWORD_SAVE=true:When
DEFAULT_SETTING_NO_PASSWORD_SAVE=false:Expected Behavior (Working as Designed)
The requirement to visit
?page=saveand enter your password to permanently save settings is intentional by design for security reasons:?page=save, enter their password, and click "Save"There is no environment variable (for now) to bypass the
?page=saveworkflow. This is a core security feature of Cypht. To permanently save any settings changes (language, timezone, etc.), you must:?page=save@PeopleInside commented on GitHub (Feb 18, 2026):
Understood. Many time i loose settings and thing because of that. Pressed save and was thinking was saved then lost all.
Also is not very confrontabile have to save and remember to going into save page where a password is needed.
I keep this issue open so maybe in the future can exist a way to bypass this.
If you think this issue should be close you can close.
@IrAlfred commented on GitHub (Feb 18, 2026):
Let's keep this issue open. Here is another related comment https://github.com/cypht-org/cypht/issues/1815#issuecomment-3829491743. Seems a common case to forget to manually save the settings