mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Fix lint errors.
This commit is contained in:
parent
39ff51ef96
commit
3aec8087f7
1 changed files with 3 additions and 3 deletions
|
|
@ -87,7 +87,7 @@ Template.userFormsLayout.events({
|
||||||
event.stopImmediatePropagation();
|
event.stopImmediatePropagation();
|
||||||
|
|
||||||
Meteor.subscribe('user-authenticationMethod', email, {
|
Meteor.subscribe('user-authenticationMethod', email, {
|
||||||
onReady() {
|
onReady() {
|
||||||
return authentication.call(this, instance, email, password);
|
return authentication.call(this, instance, email, password);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
@ -112,7 +112,7 @@ function authentication(instance, email, password) {
|
||||||
// If user doesn't exist, uses the default authentication method if it defined
|
// If user doesn't exist, uses the default authentication method if it defined
|
||||||
if (user === undefined) {
|
if (user === undefined) {
|
||||||
user = {
|
user = {
|
||||||
"authenticationMethod": instance.data.defaultAuthenticationMethod.get()
|
'authenticationMethod': instance.data.defaultAuthenticationMethod.get(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -128,4 +128,4 @@ function authentication(instance, email, password) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return this.stop();
|
return this.stop();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue