mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
refactor: update the error message
This commit is contained in:
parent
acf7ef28ab
commit
3098d1170f
@ -58,7 +58,7 @@ export const loginPortalAtom = atom(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (userAuthCookie === "empty" || prelogonUserAuthCookie === "empty") {
|
if (userAuthCookie === "empty" || prelogonUserAuthCookie === "empty") {
|
||||||
throw new Error("Failed to login, please try again");
|
throw new Error("Got empty user auth cookie");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Here, we have got the portal config successfully, refresh the cached portal data
|
// Here, we have got the portal config successfully, refresh the cached portal data
|
||||||
|
Loading…
Reference in New Issue
Block a user