Manual:ResetUserTokens.php/de-formal
This feature was removed from MediaWiki core in version 1.39.0 (after being deprecated in 1.27). Please see $wgAuthenticationTokenVersion for an alternative way to use this feature. |
MediaWiki file: resetUserTokens.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.1 • 1.41.2 • 1.39.8 |
Classes: | ResetUserTokens |
Details
resetUserTokens.php file is a maintenance script to reset the user_token of users on the wiki.
On the one hand it can reset the token for all users.
Note that this may log some of them out.
Resetting all tokens is not necessary unless you believe your user
table has been compromised.
On the other hand you can use the script to change those tokens, which currently are NULL.
This is useful to improve security for the affected users.
Verwendung
Parameter
Option/Parameter | Beschreibung |
---|---|
--nowarn | Versteckt die 5 Sekunden-Warnung, ist standardmäßig auf false gestellt. |
--nulls | Setze nur Tokens zurück, die aktuell null sind (Zeichenfolge von \x00\'s) |