mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
Merge pull request #3385 from felixrieseberg/iss3375
Signin error notifications kept from stacking
This commit is contained in:
commit
cc67f295ef
@ -10,6 +10,7 @@ var SigninRoute = Ember.Route.extend(styleBody, loadingIndicator, {
|
||||
},
|
||||
actions: {
|
||||
sessionAuthenticationFailed: function (error) {
|
||||
this.notifications.closePassive();
|
||||
this.notifications.showError(error.message);
|
||||
},
|
||||
sessionAuthenticationSucceeded: function () {
|
||||
@ -26,6 +27,7 @@ var SigninRoute = Ember.Route.extend(styleBody, loadingIndicator, {
|
||||
});
|
||||
},
|
||||
sessionInvalidationFailed: function (error) {
|
||||
this.notifications.closePassive();
|
||||
this.notifications.showError(error.message);
|
||||
},
|
||||
sessionInvalidationSucceeded: function () {
|
||||
|
Loading…
Reference in New Issue
Block a user