Skip to content

Commit fcef9e0

Browse files
committed
cleanup unused references
1 parent 7378b84 commit fcef9e0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

TodoListClient/app/adapters/application.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Ember from 'ember';
12
import DS from 'ember-data';
23
import ENV from 'todo-list-client/config/environment';
34

TodoListClient/app/components/forms/login-form/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default Ember.Component.extend({
1010
actions: {
1111
authenticate() {
1212
let { identification, password } = this.getProperties('identification', 'password');
13-
this.get('session').authenticate('authenticator:oauth2', identification, password).catch((reason) => {
13+
this.get('session').authenticate('authenticator:oauth2', identification, password).catch(() => {
1414
this.get('notify').error('Authentication failed');
1515
});
1616
}

0 commit comments

Comments
 (0)