Readme, quick bootstrapping, login, ember-data check
sdfsdf
This commit is contained in:
parent
978dacb16e
commit
0e16d2b0f4
22 changed files with 189 additions and 9 deletions
14
app/controllers/login.js
Normal file
14
app/controllers/login.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import Ember from 'ember';
|
||||
import LoginControllerMixin from 'simple-auth/mixins/login-controller-mixin';
|
||||
|
||||
export default Ember.Controller.extend(LoginControllerMixin, {
|
||||
authenticator: 'authenticators:custom',
|
||||
actions: {
|
||||
authenticate: function() {
|
||||
var _this = this;
|
||||
this._super().then(null, function(message) {
|
||||
_this.set('errorMessage', message);
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
Reference in a new issue