fix: minor fixes for the frontend
All checks were successful
Build and Deploy Go App / build (push) Successful in 5m46s
Build and Deploy Go App / deploy (push) Successful in 36s

This commit is contained in:
nihonium 2025-12-04 13:01:10 +03:00
parent 3f3cc5c484
commit 5d1d138aca
Signed by: nihonium
GPG key ID: 0251623741027CFC
3 changed files with 7 additions and 5 deletions

View file

@ -135,7 +135,7 @@ func (s Server) PostSignIn(ctx context.Context, req auth.PostSignInRequestObject
ginCtx.SetSameSite(http.SameSiteStrictMode)
ginCtx.SetCookie("access_token", accessToken, 900, "/api", "", false, true)
ginCtx.SetCookie("refresh_token", refreshToken, 1209600, "/auth", "", false, true)
ginCtx.SetCookie("xsrf_token", csrfToken, 1209600, "/api", "", false, false)
ginCtx.SetCookie("xsrf_token", csrfToken, 1209600, "/", "", false, false)
result := auth.PostSignIn200JSONResponse{
UserId: user.ID,