hydra-create-user: Warn that creating users with a plaintext password is deprecated
This commit is contained in:
@ -138,6 +138,8 @@ $db->txn_do(sub {
|
||||
$user->update({ emailaddress => $emailAddress }) if defined $emailAddress;
|
||||
|
||||
if (defined $password) {
|
||||
# !!! TODO: Remove support for plaintext passwords in 2023.
|
||||
print STDERR "Submitting plaintext passwords as arguments is deprecated and will be removed. See --help for alternatives.\n";
|
||||
$user->setPassword($password);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user