Documentation

HashingAlgorithmMigration extends Command
in package
Uses DatabaseConnection

Wraps every `legacy` password hash in a fresh native hash (the "onion"), protecting dormant accounts at rest against a future breach without needing the plaintext. Idempotent and reusable: it only touches rows still on the `legacy` scheme, so re-running (or running after some users have already logged in and been upgraded) is safe and does no redundant work.

Requires the password_scheme migration to have run first.

Table of Contents

configure()  : void
execute()  : int
setDatabaseConnection()  : mixed

Methods

execute()

protected execute(InputInterface $in, OutputInterface $out) : int
Parameters
$in : InputInterface
$out : OutputInterface
Return values
int

setDatabaseConnection()

private setDatabaseConnection() : mixed
Return values
mixed

Search results