fix: next auth host not trusted (#144)
This commit is contained in:
1 parent
cfb3daef95
commit
b2cee8f693
3 files changed
+15
-1
No files matched your search
@@ -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