Manual:WrapOldPasswords.php/pl

Wersja MediaWiki:
1.24
Category:MediaWiki code/pl#WrapOldPasswords.php

Details

wrapOldPasswords.php file is a maintenance script to wrap all passwords of a certain type in a specified layered type that wraps around the old type.

If necessary, the old MD5 hashing can be restored by changing $wgPasswordDefault to 'B'.

This maintenance script can wrap all passwords in 'pbkdf2-legacyA' or 'pbkdf2-legacyB' if you do not want to wait for your users to log in.

Options/Arguments

OptionDescriptionRequired?
--typeType to convert to. This must be one of the layered types from $wgPasswordConfig , meaning either pbkdf2-legacyA or pbkdf2-legacyB.Wymagane
--verboseCreate verbose output during execution.Optional
--updateActually wrap passwordsOptional

Usage

php maintenance/run.php wrapOldPasswords --type PasswordConfigKey [ --verbose| --update ]
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Dry run

Terminal

Updating the password

Terminal

Zobacz też

Category:Maintenance scripts/pl Category:User maintenance scripts/pl
Category:Maintenance scripts/pl Category:MediaWiki code/pl Category:User maintenance scripts/pl