diff options
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) } |