fix: next auth host not trusted (#144)
This commit is contained in:
@@ -40,7 +40,7 @@ export const LoginForm = () => {
|
||||
callbackUrl: "/",
|
||||
})
|
||||
.then((response) => {
|
||||
if (!response?.ok) {
|
||||
if (!response?.ok || response.error) {
|
||||
throw response?.error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user