mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
added support for using Unix SHA in ldap-useradmin module
This commit is contained in:
@ -137,6 +137,7 @@ if ($in{'new'} && !$access{'gmultiple'}) {
|
||||
|
||||
$pfx = $config{'md5'} == 1 || $config{'md5'} == 3 ? "{md5}" :
|
||||
$config{'md5'} == 4 ? "{ssha}" :
|
||||
$config{'md5'} == 5 ? "{sha}" :
|
||||
$config{'md5'} == 0 ? "{crypt}" : "";
|
||||
if ($in{'passmode'} == 0) {
|
||||
$pass = "";
|
||||
|
Reference in New Issue
Block a user