mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-25 01:51:12 -05:00
feat: Execute full production readiness plan
This commit is contained in:
@@ -75,7 +75,7 @@ export function TOTPSetup() {
|
||||
setSecret(data.totp.secret);
|
||||
setFactorId(data.id);
|
||||
setEnrolling(true);
|
||||
} catch (error) {
|
||||
} catch (error: unknown) {
|
||||
logger.error('Failed to start TOTP enrollment', {
|
||||
userId: user?.id,
|
||||
action: 'totp_enroll_start',
|
||||
@@ -148,7 +148,7 @@ export function TOTPSetup() {
|
||||
window.location.href = '/auth';
|
||||
}, 2000);
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (error: unknown) {
|
||||
logger.error('TOTP verification failed', {
|
||||
userId: user?.id,
|
||||
action: 'totp_verify',
|
||||
|
||||
Reference in New Issue
Block a user