aboutsummaryrefslogtreecommitdiffstats
path: root/fripost-passwd
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-05-03 18:18:55 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-05-03 18:18:55 +0200
commitb0460b1b8fb61569d20cbd4ac75ae6976bd34a92 (patch)
treea95c60c0f6705d73558e00b3afa3e0006dfb65a2 /fripost-passwd
parenteea26843500c7d12f0ee2e9e89d80953d5f7276f (diff)
‘IO::Prompt’ is deprecacted; Migrating to ‘IO::Prompter’ (by the same author).
Diffstat (limited to 'fripost-passwd')
-rwxr-xr-xfripost-passwd4
1 files changed, 2 insertions, 2 deletions
diff --git a/fripost-passwd b/fripost-passwd
index 8fad371..4374e47 100755
--- a/fripost-passwd
+++ b/fripost-passwd
@@ -146,10 +146,10 @@ if (defined $ARGV[0]) {
or die "Error: `" .$username. "' is not a valid e-mail.\n";
}
else {
- $username = prompt_email("New username: ", 'is_user');
+ $username = prompt_email("Username: ", 'is_user');
}
my $password = $conf->{password};
-$password //= hash( undef, undef, prompt_password() );
+$password //= hash( prompt_password() );
# Ensure that the user exists.