const pathname = window.location.pathname
if (!pathname || pathname === '/') {
this.redirectService.redirectToHomepage()
const pathname = window.location.pathname
if (!pathname || pathname === '/') {
this.redirectService.redirectToHomepage()
// The service will automatically redirect to the login page if the token is not valid anymore
this.authService.refreshUserInformation()
}
// The service will automatically redirect to the login page if the token is not valid anymore
this.authService.refreshUserInformation()
}
if (this.customCSS || config.instance.customizations.css) {
const styleTag = '<style>' + config.instance.customizations.css + '</style>'
this.customCSS = this.domSanitizer.bypassSecurityTrustHtml(styleTag)
if (this.customCSS || config.instance.customizations.css) {
const styleTag = '<style>' + config.instance.customizations.css + '</style>'
this.customCSS = this.domSanitizer.bypassSecurityTrustHtml(styleTag)