fix(web/panettone): Don't log backtraces
The default hunchentoot behavior is to log all local variables when logging lisp backtraces - this is nice for debugging, but means that if we hit an error when checking for auth with the ldap server we log the password provided by the user. No good! Let's just turn off logging of backtraces for now. Change-Id: Ibc4242e3e0f974ac53fffc482d3724b0547425ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/1471 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
e231493ff4
commit
273053dbf3
1 changed files with 2 additions and 0 deletions
|
@ -547,6 +547,8 @@ updated issue"
|
|||
(let ((port (integer-env "PANETTONE_PORT" :default 6161))
|
||||
(ldap-port (integer-env "LDAP_PORT" :default 389))
|
||||
(data-dir (or (uiop:getenvp "PANETTONE_DATA_DIR") "/var/lib/panettone")))
|
||||
(setq hunchentoot:*show-lisp-backtraces-p* nil)
|
||||
(setq hunchentoot:*log-lisp-backtraces-p* nil)
|
||||
(start-panettone :port port
|
||||
:data-dir data-dir
|
||||
:ldap-port ldap-port)
|
||||
|
|
Loading…
Reference in a new issue