From: Tim Düsterhus Date: Fri, 13 May 2022 10:08:13 +0000 (+0200) Subject: Replace `\wcf\SensitiveArgument` by `\SensitiveParameter` X-Git-Tag: 6.0.0_Alpha_1~1300^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef0cb2907482729f740b056b8ef3e5cd6607f867;p=GitHub%2FWoltLab%2FWCF.git Replace `\wcf\SensitiveArgument` by `\SensitiveParameter` --- diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index 8e306574f0..97c8227651 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -154,7 +154,7 @@ final class User extends DatabaseObject implements IPopoverObject, IRouteControl * @return bool password correct */ public function checkPassword( - #[\wcf\SensitiveArgument()] + #[\SensitiveParameter] $password ) { $isValid = false; diff --git a/wcfsetup/install/files/lib/system/user/authentication/DefaultUserAuthentication.class.php b/wcfsetup/install/files/lib/system/user/authentication/DefaultUserAuthentication.class.php index c14878ea92..ad0242b2aa 100644 --- a/wcfsetup/install/files/lib/system/user/authentication/DefaultUserAuthentication.class.php +++ b/wcfsetup/install/files/lib/system/user/authentication/DefaultUserAuthentication.class.php @@ -36,7 +36,7 @@ class DefaultUserAuthentication extends AbstractUserAuthentication */ public function loginManually( $username, - #[\wcf\SensitiveArgument()] + #[\SensitiveParameter] $password, $userClassname = User::class ) {