Re-direct to pre-check page if trying to re-install

This commit is contained in:
Clemente Raposo 2025-01-15 13:02:54 +00:00 committed by c.raposo
parent 0960f8f53f
commit 777e4b2673

View file

@ -71,7 +71,7 @@ export class InstallAuthGuard {
map((user: SessionStatus) => {
if (user && user.appStatus.locked === true && user.appStatus.installed === true) {
this.message.addDangerMessageByKey('LBL_DISABLED_TITLE_2');
window.location.href = './install.php'
if (user && user.active === false) {
return homePageUrlTree;