diff options
author | 2019-12-09 18:16:27 +0100 | |
---|---|---|
committer | 2019-12-09 18:16:31 +0100 | |
commit | efd401bfbf62b2216fe92b4d8be8c07e77b78482 (patch) | |
tree | 7eba39da086f891d564ce04ae0b43457e4f6edce /handlers.go | |
parent | 800a83059d95abb56cdd28049aeeaeb1f16699da (diff) | |
download | alps-efd401bfbf62b2216fe92b4d8be8c07e77b78482.tar.gz alps-efd401bfbf62b2216fe92b4d8be8c07e77b78482.tar.bz2 alps-efd401bfbf62b2216fe92b4d8be8c07e77b78482.zip |
Rename ConnPool to SessionManager
Diffstat (limited to 'handlers.go')
-rw-r--r-- | handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers.go b/handlers.go index 238b9ba..8dc3fbf 100644 --- a/handlers.go +++ b/handlers.go @@ -91,7 +91,7 @@ func handleLogin(ectx echo.Context) error { return ctx.Render(http.StatusOK, "login.html", nil) } - token, err := ctx.server.imap.pool.Put(conn, username, password) + token, err := ctx.server.sessions.Put(conn, username, password) if err != nil { return fmt.Errorf("failed to put connection in pool: %v", err) } |