Fix for secure

This commit is contained in:
VirtuBox
2019-10-07 12:27:16 +02:00
parent b553f1bf02
commit 92c2bdfd3a
2 changed files with 6 additions and 2 deletions

View File

@@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### v3.9.x - [Unreleased] ### 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 ### v3.9.9.2 - 2019-10-04
#### Added #### Added

View File

@@ -3,7 +3,6 @@ import os
from cement.core import handler, hook from cement.core import handler, hook
from cement.core.controller import CementBaseController, expose from cement.core.controller import CementBaseController, expose
from wo.core.fileutils import WOFileUtils from wo.core.fileutils import WOFileUtils
from wo.core.git import WOGit from wo.core.git import WOGit
from wo.core.logging import Log from wo.core.logging import Log
@@ -70,7 +69,7 @@ class WOSecureController(CementBaseController):
WOGit.add(self, ["/etc/nginx"], WOGit.add(self, ["/etc/nginx"],
msg="Add Nginx to into Git") msg="Add Nginx to into Git")
pargs = self.app.pargs pargs = self.app.pargs
passwd = RANDOM.gen(self, length='24') passwd = RANDOM.gen(self)
if not pargs.user_input: if not pargs.user_input:
username = input("Provide HTTP authentication user " username = input("Provide HTTP authentication user "
"name [{0}] :".format(WOVar.wo_user)) "name [{0}] :".format(WOVar.wo_user))