fix: use magic link type for OTP sign in (#104)

This commit is contained in:
Khor Shu Heng
2025-04-28 15:03:41 +08:00
committed by GitHub
parent 1942621405
commit f66b0d09e6

View File

@@ -61,7 +61,7 @@ export async function signInOTP ({
}>('/verify', {
email,
token: code,
type: 'recovery',
type: 'magiclink',
});
const data = response?.data;
@@ -160,4 +160,3 @@ export function signInDiscord (authUrl: string) {
window.open(url, '_current');
}