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:
2025-10-10 01:30:30 +05:00
parent affaa2679e
commit 0e067c7477
12 changed files with 1532 additions and 245 deletions
Binary file not shown.
+1 -1
View File
@@ -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),
})