modified: begushiybashkir/bbvue/package-lock.json
modified: begushiybashkir/bbvue/package.json modified: begushiybashkir/bbvue/src/main.js modified: begushiybashkir/bbvue/src/router/index.js new file: begushiybashkir/bbvue/src/stores/auth.js new file: begushiybashkir/bbvue/src/stores/user.js modified: begushiybashkir/bbvue/src/views/Login.vue modified: begushiybashkir/bbvue/src/views/Profile.vue new file: begushiybashkir/bbvue/src/views/ProfileEdit.vue modified: begushiybashkir/bbvue/src/views/Register.vue modified: serv_nginx/api_bb/bin/bb_api modified: serv_nginx/api_bb/internal/handlers/auth.go add axios, pinia store for user, auth, editProfile page
This commit is contained in:
Binary file not shown.
@@ -113,7 +113,7 @@ func (h *AuthHandler) Login(w http.ResponseWriter, r *http.Request) {
|
||||
Value: token,
|
||||
Path: "/",
|
||||
HttpOnly: true,
|
||||
Secure: false, // В production установить true
|
||||
Secure: false, // В production установить true :TODO
|
||||
SameSite: http.SameSiteLaxMode,
|
||||
Expires: time.Now().Add(24 * time.Hour),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user