Commit cd33e4ba authored by Pontus Freyhult's avatar Pontus Freyhult

Bugfix: Do not leak stored password from session started in LysKOM

buffer.
parent 52f2ccb9
2004-12-04 Pontus Freyhult <pont@soua.net>
Bugfix: Do not leak password from session started in LysKOM buffer.
* startup.el (lyskom): Do not send password if host
differs from the server it was given for.
2004-11-16 Pontus Freyhult <pont@soua.net>
* lyskom-rest.el (lyskom-update-prompt): Use lyskom-session-nickname.
......
......@@ -98,8 +98,12 @@ clients of the event. See lyskom-mode for details on lyskom."
kom-default-user-name
(getenv "KOMNAME")))
(setq password
(or password
lyskom-default-password
(or password
(when (and lyskom-default-password ; Got default password?
(or (not lyskom-server-name) ; For this host?
(string= lyskom-server-name
host)))
lyskom-default-password)
kom-default-password
(getenv "KOMPASSWORD")))
(if (zerop (length host))
......@@ -604,7 +608,7 @@ shown to other users."
1
(lyskom-create-membership-type
nil nil nil nil nil nil nil nil)))
(setq login-successful t))
(setq login-successful t))
(lyskom-insert-string 'wrong-password)
(setq lyskom-default-password nil)
(when (lyskom-get-aux-item
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment