30 if (in_array($form_name, [
'register',
'useradd',
'usersettings'])) {
31 $banned_keys = [
'password',
'password2'];
39 $vars = array_merge($req->query->all(), $req->request->all());
40 foreach ($banned_keys as
$key) {
62 unset(
$data[$form_name]);
76 return isset(
$data[$form_name]);
94 if (isset(
$data[$form_name][$variable])) {
116 if (!isset(
$data[$form_name])) {
120 $values =
$data[$form_name];
121 if ($filter_result) {
141 unset(
$data[$form_name][$variable]);
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.