aboutsummaryrefslogtreecommitdiffstats
path: root/tools/triggers_list.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/triggers_list.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/triggers_list.php b/tools/triggers_list.php
index bda83ffde..1ca1bdf29 100644
--- a/tools/triggers_list.php
+++ b/tools/triggers_list.php
@@ -791,6 +791,25 @@ array(
'vars' => array('bool', null, 'string', 'methodName', 'array', 'params'),
'files' => array('include\ws_core.inc.php (PwgServer::invoke)'),
),
+array(
+ 'name' => 'user_logout',
+ 'type' => 'trigger_action',
+ 'vars' => array('int', 'user_id'),
+ 'files' => array('include\functions_user.inc.php (logout_user)'),
+),
+array(
+ 'name' => 'user_login',
+ 'type' => 'trigger_action',
+ 'vars' => array('int', 'user_id'),
+ 'files' => array('include\functions_user.inc.php (log_user)'),
+),
+array(
+ 'name' => 'try_log_user',
+ 'type' => 'trigger_event',
+ 'vars' => array('boolean', 'success', 'string', 'username', 'string', 'password', 'bool', 'remember_me'),
+ 'files' => array('include\functions_user.inc.php (try_log_user)'),
+ 'infos' => 'Used by identification form to check user credentials and log user. If success is true, another login method already succeed. Return true if your method succeed.',
+),
);
?>
<!DOCTYPE html>