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:
parent
5cfebb3e50
commit
8968a60eb9
1 changed files with 4 additions and 1 deletions
|
@ -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 () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue