Message session expired (security module)

Hello,
I’m having a problem with the security module (new).
I always get a message that appears when my session expires.
However, I have my parameter at ‘R’ in [sett_session_expire]. Below in sec_login the place where he must make the redirection
function sc_validate_success in sec_login in event onvalidesuccess.
if([sett_session_expire] != ‘N’){
sc_apl_default(‘sec_login’, [sett_session_expire]);
}
I don’t understand.
Do you have same problem ?
Thanks
Guy
v9.10.006

Hi, Guy. I did not find the assigment for the global variable [sett_session_expire] with the session_expire field value from table sec_settings.

I think that is the main issue.

Regards.

Hi Guillermo
You can find it on applicationinit
get_settings();
php method
Guy

1 Like

Are you using 2FA? Because I was testing and that part of code never execute with 2FA.

Regards.

but execute sc_apl_default(‘app_Login’, ‘R’);

no, i’m not using 2FA and i already test with “R”
i’m lost