diff --git a/src/auth/AccountController.ts b/src/auth/AccountController.ts index 1a79187..0893ea0 100644 --- a/src/auth/AccountController.ts +++ b/src/auth/AccountController.ts @@ -11,7 +11,6 @@ import UserEmail from "./models/UserEmail"; import MagicLinkController from "./magic_link/MagicLinkController"; import {MailTemplate} from "../mail/Mail"; import {ADD_EMAIL_MAIL_TEMPLATE} from "../Mails"; -import {logger} from "../Logger"; import AuthMagicLinkActionType from "./magic_link/AuthMagicLinkActionType"; export default class AccountController extends Controller { @@ -65,7 +64,6 @@ export default class AccountController extends Controller { await passwordComponent.setPassword(req.body.new_password, 'new_password'); await user.save(); - logger.debug('user ' + user.id + ' changed their password and was saved.'); req.flash('success', 'Password changed successfully.'); res.redirectBack(Controller.route('account'));