aboutsummaryrefslogtreecommitdiff
path: root/lib/models
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2025-11-12 10:58:39 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-11-12 10:58:39 +0100
commit5d47c51cae44cc2bc644a9476a35b26bd1687a17 (patch)
treed01e4422b58711c8ce27e562073fad7c08efc9bb /lib/models
parentb85ffb4aee0e29a3db84c7141f9b23b27bf2ec22 (diff)
use correct log action when changing email, fixes #6041
Closes #6041 Merge request studip/studip!4601
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/User.php b/lib/models/User.php
index 6f7cddb..df87c3c 100644
--- a/lib/models/User.php
+++ b/lib/models/User.php
@@ -1104,7 +1104,7 @@ class User extends AuthUserMd5 implements Range, PrivacyObject, Studip\Calendar\
$this->store();
PageLayout::postInfo(sprintf(_('An Ihre neue E-Mail-Adresse <b>%s</b> wurde ein Aktivierungslink geschickt, dem Sie folgen müssen bevor Sie sich das nächste mal einloggen können.'), htmlReady($email)));
- StudipLog::log('USER_NEWPWD', $this->user_id);
+ StudipLog::log('USER_CHANGE_EMAIL', $this->user_id, null, "{$this->email} -> {$email}");
}
return true;
}