rememberMe unused in NbAuthService
未关闭
enhancement
help wanted
module:auth
needs docs
- 主要语言
- TypeScript
- 星标
- 8.1k
- 派生
- 1.5k
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi Akveo,
I see that when using NbAuthService for login:
`authService.authenticate('provider', 'data)...`
The rememberMe checkbox (from your NbLoginComponent) is never checked before saving the token into TokenService
https://github.com/akveo/nebular/blob/893d56adfe56a0d4f6e8fe9b9591a20e3bafade4/src/framework/auth/services/auth.service.ts#L134
Result: token is always saved (even if checkbox not checked). So when I close my browser and visit again, I'm still logged (token is still here because I did not logout).
Is this normal behavior ?
贡献指南
评估
这个 Issue 还没有评估数据。