matteo-convertino / otpmanager-nextcloud

Nextcloud app that allows you to manage your OTP (TOTP/HOTP) codes easily
GNU Affero General Public License v3.0
25 stars 5 forks source link

[Bug] `Show Codes` Setting does not stay selected #7

Closed meichthys closed 11 months ago

meichthys commented 1 year ago

The show codes option in the settings does work as expected, but it does not stay selected. After reloading the page, the option is turned off.

image

matteo-convertino commented 1 year ago

Right now the show codes value is stored only on the frontend side. The change I postponed (because I didn't consider it important for the purposes of launching the extension) is to add another table in the db called, for example, otpmanager_user_settings which stores the value of show_codes and other user preferences that will occur in the future.

meichthys commented 1 year ago

Ok, I figured that might be the case. Great work!

matteo-convertino commented 11 months ago

This bug should be fixed with the release. If the problem persists feel free to reopen the issue.