Chore upgrade eslint and deps (#2010)
* chore: 🤖 Upgrade eslint * chore: 🤖 Upgrade eslint-config-prettier * chore: 🤖 Upgrade eslint-plugin-ember * chore: 🤖 Upgrade eslint-plugin-n
This commit is contained in:
1 parent
a891f7a1a5
commit
02a89bd7ba
11 files changed
+174
-91
No files matched your search
@@ -78,7 +78,7 @@ export default class BaseAuthenticator extends SimpleAuthBaseAuthenticator {
|
||||
async restore(data) {
|
||||
if (!data) return reject();
|
||||
return this.validateToken(data.attributes.token, data.attributes.id).then(
|
||||
() => this.normalizeData(data)
|
||||
() => this.normalizeData(data),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ export default class PasswordAuthenticator extends BaseAuthenticator {
|
||||
async authenticate(
|
||||
{ identification: login_name, password },
|
||||
requestCookies = true,
|
||||
options
|
||||
options,
|
||||
) {
|
||||
const body = JSON.stringify({
|
||||
command: 'login',
|
||||
|
||||
Reference in new issue
Block a user