File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,17 @@ def secure_auth(self):
6060 self .app .pargs .user_pass = password
6161 if password == "" :
6262 self .app .pargs .user_pass = passwd
63+ Log .debug (self , "printf username:"
64+ "$(openssl passwd -crypt "
65+ "password 2> /dev/null)\n \" "
66+ "> /etc/nginx/htpasswd-ee 2>/dev/null" )
6367 EEShellExec .cmd_exec (self , "printf \" {username}:"
6468 "$(openssl passwd -crypt "
6569 "{password} 2> /dev/null)\n \" "
6670 "> /etc/nginx/htpasswd-ee 2>/dev/null"
6771 .format (username = self .app .pargs .user_input ,
68- password = self .app .pargs .user_pass ))
72+ password = self .app .pargs .user_pass ),
73+ log = False )
6974 Log .info (self , "Successfully changed HTTP authentication"
7075 " username to : {username}"
7176 .format (username = self .app .pargs .user_input ), log = False )
You can’t perform that action at this time.
0 commit comments