0
Fork 0
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:
Hannah Wolfe 2014-01-20 06:12:25 -08:00
commit 7cd87c5a3c

View file

@ -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.",