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