forked from mtusi2026/mtusi2026lab3
фронт и secure browser session
This commit is contained in:
@@ -55,6 +55,8 @@ func (h *Handler) CreateSession(
|
||||
return
|
||||
}
|
||||
|
||||
h.setSessionCookie(w, session.Token, session.ExpiresAt)
|
||||
|
||||
response.WriteJSON(
|
||||
w,
|
||||
http.StatusCreated,
|
||||
|
||||
Reference in New Issue
Block a user