login button was taking two clicks
This commit is contained in:
parent
61bf336789
commit
df395b7b61
@ -95,7 +95,7 @@ export class AuthService {
|
|||||||
async login(): Promise<boolean> {
|
async login(): Promise<boolean> {
|
||||||
if (AuthService.getSessionToken()) {
|
if (AuthService.getSessionToken()) {
|
||||||
sessionStorage.removeItem(btoa('CICADA_SESSION_TOKEN'));
|
sessionStorage.removeItem(btoa('CICADA_SESSION_TOKEN'));
|
||||||
} else {
|
}
|
||||||
const o = await this.getChallenge();
|
const o = await this.getChallenge();
|
||||||
|
|
||||||
const r = await signChallenge(
|
const r = await signChallenge(
|
||||||
@ -127,7 +127,7 @@ export class AuthService {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loginView(): void {
|
loginView(): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user