mirror of
https://github.com/flarum/framework.git
synced 2025-05-21 14:22:33 +08:00
Change back to 401 error on invalid login
See 26a821e3e2 (commitcomment-13866552)
This commit is contained in:
@ -236,7 +236,7 @@ export default class App {
|
||||
return responseText;
|
||||
};
|
||||
|
||||
if (this.requestError) this.requestError.hideAlert();
|
||||
if (this.requestError) this.alerts.dismiss(this.requestError.alert);
|
||||
|
||||
// Now make the request. If it's a failure, inspect the error that was
|
||||
// returned and show an alert containing its contents.
|
||||
|
Reference in New Issue
Block a user