use-server-side-mfm (#133)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/133
This commit is contained in:
parent
e61228b031
commit
2d85ee6a08
6 changed files with 13 additions and 18 deletions
|
@ -589,7 +589,7 @@ const users = {
|
|||
const response = data.error
|
||||
// Authentication failed
|
||||
commit('endLogin')
|
||||
if (response.status === 401 || response.status === 403) {
|
||||
if (response.status === 401) {
|
||||
reject(new Error('Wrong username or password'))
|
||||
} else {
|
||||
reject(new Error('An error occurred, please try again'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue