mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:42:58 +03:00
🐛 Bug Report: changing some env config variables seems to have no effect #232
Reference in New Issue
Block a user
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 @andreas-soroko on GitHub.
Reproduction steps
EMAIL_ONE_TIME_ACCESS_ENABLEDtotrueExpected behavior
Changing the env values updates correctly the config in pocket-id
Actual Behavior
i updated an existing pocket-id instance and after the update i wanted to set the value
EMAIL_ONE_TIME_ACCESS_ENABLEDtotrue.After a restart, the option in the UI was still disabled. Then i thought, okay - maybe the key doesn't work and set it myself via the ui and set
PUBLIC_UI_CONFIG_DISABLEDback tofalse- restart, again nothing happened.I then changed the
SMTP_HOSTvalue as a test - worked, but the other values were not updated.Is there a problem?
you can also set
Email Login Code from Adminin the ui, but there doesn't seem to be an env key for this, or is this also controlled viaEMAIL_ONE_TIME_ACCESS_ENABLED?Version and Environment
version: 0.51.1
Log Output
No response
@stonith404 commented on GitHub:
The environment variables should now be up-to-date in the docs.
@kmendell commented on GitHub:
This may be due to some naming changes we did to the settings, Ill try to take a look a bit later today :)