oops
This commit is contained in:
@@ -68,7 +68,9 @@ function AccountLoginForm ({ redirect }: { redirect: string | null }) {
|
|||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
if (e.response) {
|
if (e.response) {
|
||||||
alert(
|
alert(
|
||||||
'Failed to login, error: ' +
|
`Failed to ${
|
||||||
|
alreadyLoggedIn ? 'refresh ' : ''
|
||||||
|
}login, error: ` +
|
||||||
(e.response.data?.message ||
|
(e.response.data?.message ||
|
||||||
JSON.stringify(e.response.data))
|
JSON.stringify(e.response.data))
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user