finished reset password & other changes

This commit is contained in:
2024-04-24 22:37:55 +03:00
parent b1ad7b5c3e
commit 53cadc289a
58 changed files with 1520 additions and 349 deletions

View File

@@ -43,12 +43,12 @@ export const login = async (values: zInfer<typeof LoginSchema>) => {
return { error: 'common.something_went_wrong' }
}
}
// TODO: logging must be implemented
throw error
}
}
export const SignInProvider = async (provider: 'google' | 'github' | 'facebook') => {
export const SignInProvider = async (provider: 'google' | 'github') => {
await signIn(provider, {
redirectTo: DEFAULT_LOGIN_REDIRECT,
})