mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Merge pull request #1951 from Damiya/1902-fix
Prevent stacking of password mismatch notification on /reset/
This commit is contained in:
commit
7cd87c5a3c
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@
|
|||
ne2Password = this.$('input[name="ne2password"]').val();
|
||||
|
||||
if (newPassword !== ne2Password) {
|
||||
Ghost.notifications.clearEverything();
|
||||
Ghost.notifications.addItem({
|
||||
type: 'error',
|
||||
message: "Your passwords do not match.",
|
||||
|
|
Loading…
Reference in a new issue