KFSG#72129 AiAi bij inloggen via app van inactieve gebruiker

svn path=/Database/trunk/; revision=55613
This commit is contained in:
Erik Groener
2022-04-19 10:41:02 +00:00
parent 8ba8b15c1c
commit c5270c00f2
2 changed files with 13 additions and 1 deletions

View File

@@ -267,9 +267,13 @@ BEGIN
OR :new.prs_perslid_oslogin2 IS NULL AND :old.prs_perslid_oslogin2 IS NOT NULL
OR NVL(:new.prs_perslid_wachtwoord_hash, 'X') <> NVL(:old.prs_perslid_wachtwoord_hash, 'X')
)
OR fac.getsetting ('login_use_email') = 1
OR ( fac.getsetting ('login_use_email') = 1
AND :new.prs_perslid_email IS NULL
AND :old.prs_perslid_email IS NOT NULL
)
OR ( :new.prs_perslid_inactief IS NOT NULL
AND :old.prs_perslid_inactief IS NULL
)
THEN -- Merk op: anno 5.3.2 wordt een persoon die *nu* is ingelogd hier niet
-- automatisch door uitgelogd
:new.prs_perslid_credentials_datum := SYSDATE;

View File

@@ -184,6 +184,14 @@ UPDATE fac_menuitems
, fac_menuitems_label = 'lcl_Facilitor_Status'
WHERE fac_menuitems_label = 'lcl_Facilitor_Forum';
/////////////////////////////////////////////////////////////////////////////////////////// KFSG#72129
DELETE FROM fac_session
WHERE prs_perslid_key IN
(SELECT prs_perslid_key
FROM prs_perslid
WHERE prs_perslid_inactief IS NOT NULL
);
/////////////////////////////////////////////////////////////////////////////////////////// FCLT#00000
REGISTERONCE('$Id$')