fix: email from session.user first, not JWT payload

- req.session.user.email приоритетнее payload.email
- Исправляет отображение чужого email в header
This commit is contained in:
2026-06-11 15:08:07 +04:00
parent 9cb53df8b1
commit ce6b67e72a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "ipwhitelist",
"version": "0.5.49",
"version": "0.5.50",
"description": "IP WhiteList microservice for cloud provider",
"main": "server.js",
"scripts": {