finished reset password & other changes
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user