SG-1047 Fix remember me on web (#4706)
This commit is contained in:
parent
de5ef14dda
commit
d27ef74fe1
|
@ -67,7 +67,7 @@ export class LoginWithDeviceComponent
|
||||||
|
|
||||||
const navigation = this.router.getCurrentNavigation();
|
const navigation = this.router.getCurrentNavigation();
|
||||||
if (navigation) {
|
if (navigation) {
|
||||||
this.email = navigation.extras?.state?.email;
|
this.email = this.loginService.getEmail();
|
||||||
}
|
}
|
||||||
|
|
||||||
//gets signalR push notification
|
//gets signalR push notification
|
||||||
|
|
|
@ -184,8 +184,8 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const email = this.formGroup.get("email").value;
|
this.setFormValues();
|
||||||
this.router.navigate(["/login-with-device"], { state: { email: email } });
|
this.router.navigate(["/login-with-device"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
async launchSsoBrowser(clientId: string, ssoRedirectUri: string) {
|
async launchSsoBrowser(clientId: string, ssoRedirectUri: string) {
|
||||||
|
|
Loading…
Reference in New Issue