fix: admin login khi close tự động logout

This commit is contained in:
2026-06-22 20:22:13 +07:00
parent 09b1ee882d
commit ac91f6e4c8
6 changed files with 3 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:20-alpine AS base
FROM node:22-alpine AS base
WORKDIR /usr/src/app
+2
View File
@@ -147,6 +147,8 @@ export const LoginModal: React.FC<LoginModalProps> = ({ isOpen, onClose, onSwitc
// Lưu phiên đăng nhập
localStorage.setItem('token', data.access_token);
localStorage.setItem('user', JSON.stringify(data.user));
localStorage.removeItem('guest_token');
localStorage.removeItem('guest_user');
console.log('[LoginModal] Email/password login successful');
// Regular login - no auto-join for tour