Fix lint errors
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import _ from 'lodash';
|
|
||||||
import { SFAuthManager } from 'snjs';
|
import { SFAuthManager } from 'snjs';
|
||||||
import { getPlatformString } from '@/utils';
|
import { getPlatformString } from '@/utils';
|
||||||
import template from '%/root.pug';
|
import template from '%/root.pug';
|
||||||
@@ -291,10 +290,9 @@ class RootCtrl {
|
|||||||
|
|
||||||
async handleAutoSignInFromParams() {
|
async handleAutoSignInFromParams() {
|
||||||
const params = this.$location.search();
|
const params = this.$location.search();
|
||||||
const server = params['server'];
|
const server = params.server;
|
||||||
const email = params['email'];
|
const email = params.email;
|
||||||
const password = params['pw'];
|
const password = params.pw;
|
||||||
console.log(server, email, password);
|
|
||||||
if (!server || !email || !password) return;
|
if (!server || !email || !password) return;
|
||||||
|
|
||||||
if (this.authManager.offline()) {
|
if (this.authManager.offline()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user