From 4bf3c4427247d8a02740da2e76d94b49734e5d15 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Thu, 24 Jan 2013 10:09:28 -0800 Subject: Bugfix 8597: die when no password is defined --- lib/Vyatta/Login/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Vyatta/Login/User.pm b/lib/Vyatta/Login/User.pm index 411aed6c..88dcdcdd 100755 --- a/lib/Vyatta/Login/User.pm +++ b/lib/Vyatta/Login/User.pm @@ -134,7 +134,7 @@ sub _update_user { my $home = $cfg->returnValue('home-directory'); unless ($pwd) { - warn "Encrypted password not in configuration for $user"; + die "Encrypted password required for \'$user\'\n"; return; } -- cgit v1.2.3