diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-12-25 21:13:49 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-12-25 21:13:55 (GMT) |
commit | 7f63f817486684c0dcb440bf57ff79c07c487911 (patch) | |
tree | 0a6b23f3e51305ebc7c6279caf93e3388eff9974 /session_store.go | |
parent | 3822025a7a4103f2c2de70f0c9199bc9a64cc3b4 (diff) |
telnet control interface now uses spreadspace/telgo
Diffstat (limited to 'session_store.go')
-rw-r--r-- | session_store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/session_store.go b/session_store.go index 505bd75..2aabc44 100644 --- a/session_store.go +++ b/session_store.go @@ -79,6 +79,7 @@ type SessionStore struct { } func (self *SessionStore) new(ctx *ImportContext) (resp newSessionResponse) { + // TODO: for untrusted interfaces we need to check Username and PassWord!!!! b := uuid.NewV4().Bytes() resp.id = strings.ToLower(strings.TrimRight(base32.StdEncoding.EncodeToString(b), "=")) if _, exists := self.store[ctx.UserName]; !exists { |