Nochn Fix fuer die Passwoerter.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@284 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2006-09-18 19:28:58 +00:00
parent 90c973a6a7
commit 647ba96870

View File

@@ -40,7 +40,7 @@ if ($cgiparams{'ACTION_ADMIN'} eq $Lang::tr{'save'})
}
elsif (length($password1) >= 6)
{
system('/usr/bin/htpasswd', '-m', '-b', "${General::swroot}/auth/users", 'admin', "${password1}");
system('/usr/sbin/htpasswd', '-m', '-b', "${General::swroot}/auth/users", 'admin', "${password1}");
&General::log($Lang::tr{'admin user password has been changed'});
}
else {
@@ -61,7 +61,7 @@ if ($cgiparams{'ACTION_DIAL'} eq $Lang::tr{'save'})
}
elsif (length($password1) >= 6)
{
system('/usr/bin/htpasswd', '-m', '-b', "${General::swroot}/auth/users", 'dial', "${password1}");
system('/usr/sbin/htpasswd', '-m', '-b', "${General::swroot}/auth/users", 'dial', "${password1}");
&General::log($Lang::tr{'dial user password has been changed'});
}
else {