lil*_*evo 4 javascript firebase
我在我的项目和电子邮件身份验证中使用了 firebase。我想在用户登录后 1 小时自动注销。如果这不可能,我想在用户关闭网站时自动注销。谁能帮我?非常感谢。
对于第二点,设置firebase.auth.Auth.Persistence.SESSION或NONE。
阅读更多内容:https : //firebase.google.com/docs/auth/web/auth-state-persistence#modifying_the_auth_state_persistence