Production release February 2024 [CONNECT] #34
|
@ -94,6 +94,7 @@ export class UserManagementService {
|
|||
}
|
||||
|
||||
public login(redirect: string = null) {
|
||||
Session.clearReloadUrl();
|
||||
if(redirect) {
|
||||
this.redirectUrl = redirect;
|
||||
} else if (this.fixRedirectURL) {
|
||||
|
@ -106,6 +107,7 @@ export class UserManagementService {
|
|||
}
|
||||
|
||||
public logout() {
|
||||
Session.clearReloadUrl();
|
||||
this.setRedirectUrl();
|
||||
Session.removeUser();
|
||||
let logoutURL: string | string[] = isArray(properties.loginServiceURL)?properties.loginServiceURL.map(url => url + UserManagementService.LOGOUT):(properties.loginServiceURL + UserManagementService.LOGOUT);
|
||||
|
|
Loading…
Reference in New Issue