Fix for secure
This commit is contained in:
@@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
### v3.9.x - [Unreleased]
|
||||
|
||||
#### Changed
|
||||
|
||||
- WordOps is now installed from PyPI using pip [WordOps](https://pypi.org/project/wordops/)
|
||||
- New Nginx package built with OpenSSL 1.1.1d and updated brotli module
|
||||
|
||||
### v3.9.9.2 - 2019-10-04
|
||||
|
||||
#### Added
|
||||
|
||||
@@ -3,7 +3,6 @@ import os
|
||||
|
||||
from cement.core import handler, hook
|
||||
from cement.core.controller import CementBaseController, expose
|
||||
|
||||
from wo.core.fileutils import WOFileUtils
|
||||
from wo.core.git import WOGit
|
||||
from wo.core.logging import Log
|
||||
@@ -70,7 +69,7 @@ class WOSecureController(CementBaseController):
|
||||
WOGit.add(self, ["/etc/nginx"],
|
||||
msg="Add Nginx to into Git")
|
||||
pargs = self.app.pargs
|
||||
passwd = RANDOM.gen(self, length='24')
|
||||
passwd = RANDOM.gen(self)
|
||||
if not pargs.user_input:
|
||||
username = input("Provide HTTP authentication user "
|
||||
"name [{0}] :".format(WOVar.wo_user))
|
||||
|
||||
Reference in New Issue
Block a user