From f6fc3946d0445711caf885a60bc25f55c87f270f Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 27 May 2020 15:06:41 +0000 Subject: [PATCH] Fixed syntax error on the password recovery page. --- public/auth/password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/auth/password.php b/public/auth/password.php index 821a3c26..3c1962fc 100644 --- a/public/auth/password.php +++ b/public/auth/password.php @@ -63,7 +63,7 @@ while($canResetPassword) { } if(user_password_set($userId, $passwordNew)) { - AuditLog::(AuditLog::PASSWORD_RESET, [], User::byId($userId)); + AuditLog::create(AuditLog::PASSWORD_RESET, [], User::byId($userId)); } else { throw new UnexpectedValueException('Password reset failed.'); }