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 659cda19e7

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