0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Update to Ember 1.9.0.

No Issue
- Ember@1.9.0
- Handlebars@2.0.0
- grunt-ember-templates@0.5.0-alpha
This commit is contained in:
Jason Williams 2014-12-10 05:48:43 +00:00
parent 5cfebb3e50
commit 8968a60eb9

View file

@ -9,7 +9,10 @@ var SigninController = Ember.Controller.extend(SimpleAuth.AuthenticationControll
authenticate: function () { authenticate: function () {
var data = this.getProperties('identification', 'password'); var data = this.getProperties('identification', 'password');
return this._super(data); this._super(data).catch(function () {
// If simple-auth's authenticate rejects we need to catch it
// to avoid an unhandled rejection exception.
});
}, },
validateAndAuthenticate: function () { validateAndAuthenticate: function () {