mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 02:12:58 +02:00
Update to apache 2.4.27
- Updated to apache 2.4 - Updated the htpasswd generation to use the more secure bcrypt algorithm Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
c8e9a7a85e
commit
d41fe99f74
@@ -56,7 +56,7 @@ int handleadminpassword(void)
|
||||
return 0;
|
||||
|
||||
snprintf(commandstring, STRING_SIZE,
|
||||
"/usr/sbin/htpasswd -c -m -b " CONFIG_ROOT "/auth/users admin '%s'", password);
|
||||
"/usr/bin/htpasswd -c -B -C 7 -b " CONFIG_ROOT "/auth/users admin '%s'", password);
|
||||
sprintf(message, _("Setting %s 'admin' user password..."), NAME);
|
||||
if (runhiddencommandwithstatus(commandstring, _("Setting password"), message, NULL)) {
|
||||
sprintf(message, _("Problem setting %s 'admin' user password."), NAME);
|
||||
|
||||
Reference in New Issue
Block a user