]> WPIA git - gigi.git/blobdiff - src/club/wpia/gigi/dbObjects/SupportedUser.java
add: implement password change log
[gigi.git] / src / club / wpia / gigi / dbObjects / SupportedUser.java
index 5d023e9bbb68a90ea612fd47d3e659199cb86e44..84c43ab8e0db5261d745d200d34d69663be20ef8 100644 (file)
@@ -175,13 +175,14 @@ public class SupportedUser {
         }
     }
 
-    public void triggerPasswordReset(String aword, HttpServletRequest req) {
+    public void triggerPasswordReset(String aword, HttpServletRequest req) throws GigiApiException {
         Language l = Language.getInstance(target.getPreferredLocale());
         String method = l.getTranslation("A password reset was triggered. Please enter the required text sent to you by support on this page:");
         String subject = l.getTranslation("Password reset by support.");
         PasswordResetPage.initPasswordResetProcess(target, req, aword, l, method, subject);
         Outputable message = new TranslateCommand("A password reset was triggered and an email was sent to user.");
         sendSupportNotification(subject, message);
+        writeSELog("SE triggered password reset");
     }
 
     private void sendBoardNotification(String subject, Outputable message) {