aboutsummaryrefslogtreecommitdiff
path: root/lib
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 14:37:55 +0100
commit28f0c58237583c4627f1bc29bbefee7e52d50140 (patch)
tree375f554a2fee5f42653d6d40251f5d57323fb3ff /lib
parentad63fbd0fe6f28b5b8d4939454e1cd623784af47 (diff)
use correct log action when changing email, fixes #6041
Closes #6041 Merge request studip/studip!4601
Diffstat (limited to 'lib')
-rw-r--r--lib/models/User.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/User.class.php b/lib/models/User.class.php
index f18d01d..994f87f 100644
--- a/lib/models/User.class.php
+++ b/lib/models/User.class.php
@@ -1065,7 +1065,7 @@ class User extends AuthUserMd5 implements Range, PrivacyObject
$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;
}