auth: complete account authorization flows

(cherry picked from commit 04f4527df32ad5c35720cccc41d27fe51549612f)
This commit is contained in:
A 2026-06-08 21:42:32 +08:00
parent af41d18478
commit 6dc42942c8
21 changed files with 1780 additions and 50 deletions

View file

@ -0,0 +1,14 @@
DROP INDEX IF EXISTS authorizations_user_hash_idx;
ALTER TABLE account_passwords
DROP COLUMN IF EXISTS recovery_code_expires_at,
DROP COLUMN IF EXISTS recovery_code,
DROP COLUMN IF EXISTS recovery_email,
DROP COLUMN IF EXISTS srp_b,
DROP COLUMN IF EXISTS srp_b_secret,
DROP COLUMN IF EXISTS srp_verifier,
DROP COLUMN IF EXISTS srp_id,
DROP COLUMN IF EXISTS current_algo_p,
DROP COLUMN IF EXISTS current_algo_g,
DROP COLUMN IF EXISTS current_algo_salt2,
DROP COLUMN IF EXISTS current_algo_salt1;