mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 09:50:34 +03:00
Merge pull request #1951 from Damiya/1902-fix
Prevent stacking of password mismatch notification on /reset/
This commit is contained in:
commit
659cda19e7
@ -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 New Issue
Block a user