mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2026-03-13 10:00:26 +08:00
fix: use magic link type for OTP sign in (#104)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user