Changing User.read API to default to active users.

refs #3542
- Properly handle forgotten screen (ember)
- Change Users API to only return active users on read
- Adjust tests
This commit is contained in:
Fabian Becker 2014-08-05 18:11:17 +00:00
parent 73ba38d72b
commit e9e6aa1732

View File

@ -26,7 +26,7 @@ var ForgottenController = Ember.Controller.extend(ValidationEngine, {
}
}).then(function (resp) {
self.toggleProperty('submitting');
self.notifications.showSuccess('Please check your email for instructions.');
self.notifications.showSuccess('Please check your email for instructions.', {delayed: true});
self.transitionToRoute('signin');
}).catch(function (resp) {
self.toggleProperty('submitting');