Logout not remove local storage token
Đang mở
needs investigation
- Ngôn ngữ chính
- TypeScript
- Star
- 25.7k
- Fork
- 7.9k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Cause in my backend api there is no logout endpoint. My config for logout is
```
logout: {
redirect: {
success: '/',
failure: '/',
},
```
The redirect happens but not remove the token authentication from local storage. I was forced to add manually `localStorage.removeItem('auth_app_token');` in @nebular/auth/components/logout/logout.component.js
Is there a config for logout without calling backend api?
Is it causing the failure for not removing local token?
Thanks
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.