mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:27:03 +02:00
gui: add mandatory start date to certain users preventing them to search for older emails
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -487,6 +487,10 @@ class ModelUserAuth extends Model {
|
||||
|
||||
AUDIT(ACTION_LOGIN, $username, '', '', 'successful auth against LDAP');
|
||||
|
||||
if(CUSTOM_EMAIL_QUERY_FUNCTION && function_exists(CUSTOM_EMAIL_QUERY_FUNCTION)) {
|
||||
call_user_func(CUSTOM_EMAIL_QUERY_FUNCTION, $username);
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user