mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-05 12:05:01 +00:00
Nutomic
22608ae983
* Rework the way 2FA is enabled/disabled (fixes #3309) * postgres format * change algo to sha1 for better compat * review comments * review * clippy --------- Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
6 lines
116 B
SQL
6 lines
116 B
SQL
ALTER TABLE local_user
|
|
ADD COLUMN totp_2fa_url text;
|
|
|
|
ALTER TABLE local_user
|
|
DROP COLUMN totp_2fa_enabled;
|
|
|