refactor: simplify account standing and verification levels (#3130)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-02 18:17:41 +02:00
1 parent 1abde06824
commit 1ec8f31253
488 files changed
+10390 -47117

No files matched your search

@@ -39,7 +39,6 @@ interface EmailChangeVerifyNewResponse {
interface UserPrivateResponse {
id: string;
email: string;
has_verified_phone: boolean;
username: string;
discriminator: string;
global_name: string;
@@ -192,7 +191,6 @@ describe('Email revert flow', () => {
expect(user.email).toBe(account.email);
expect(user.mfa_enabled).toBe(false);
expect(user.authenticator_types?.length ?? 0).toBe(0);
expect(user.has_verified_phone).toBe(false);
expect(user.password_last_changed_at).toBeDefined();
const login = await loginUser(harness, {email: account.email, password: newPassword});
expect('mfa' in login).toBe(false);