projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d14098
)
Replace `\wcf\SensitiveArgument` by `\SensitiveParameter`
author
Tim Düsterhus
<duesterhus@woltlab.com>
Fri, 13 May 2022 10:08:13 +0000
(12:08 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Fri, 13 May 2022 10:09:09 +0000
(12:09 +0200)
wcfsetup/install/files/lib/data/user/User.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/system/user/authentication/DefaultUserAuthentication.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/data/user/User.class.php
b/wcfsetup/install/files/lib/data/user/User.class.php
index 8e306574f0a46bbb155bac75d39f198e60914fed..97c8227651133744972cefb7cbc81cb6a835fbb5 100644
(file)
--- 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 c14878ea9289736cd4614c961eebc8b93bc8943b..ad0242b2aa3ea895847201ee14922a9150f7db0b 100644
(file)
--- 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
) {