Signed-off-by: Lucio Correia <luciojhc(a)linux.vnet.ibm.com>
---
src/wok/root.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/wok/root.py b/src/wok/root.py
index e2b9216..8601b71 100644
--- a/src/wok/root.py
+++ b/src/wok/root.py
@@ -146,9 +146,12 @@ class WokRoot(Root):
self.paths = wok_paths
self.domain = 'wok'
self.messages = messages
- self.log_map = ROOT_REQUESTS
self.extends = None
+ # set user log messages and make sure all parameters are present
+ self.log_map = ROOT_REQUESTS
+ self.log_args.update({'username': ''})
+
@cherrypy.expose
def login(self, *args):
method = 'POST'
--
1.9.1
Show replies by thread
Applied. Thanks.
Regards,
Aline Manera