LielAmar / 2FA

A Two Factor Authentication plugin for Bungeecord, Spigot & Paper
MIT License
43 stars 10 forks source link

Forever authenticated #131

Closed jfk9w closed 2 months ago

jfk9w commented 1 year ago

Describe the bug

  1. It looks like 2FA does not expire until server restart (or takes very long to expire).
  2. Also you can still open doors (and maybe use some activated items, I haven't checked) when not authenticated.

How To Reproduce

  1. Start the server with 2FA.
  2. Authenticate.
  3. Log out.
  4. Log in again. You will not be prompted anything from 2FA plugin. "require-when.on-ip-change" and "require-when.every-login" configuration properties are ignored.

Expected behavior Player authentication should expire on quit.

Server Information Server Java and OS

Server Plugins

Server Jar, Versions and Information

Communication Method & Proxies:

Storage Information:

Additional context It looks like onPlayerQuit is not called for some reason.

LoneDevilX commented 1 year ago

Same issue over here

StKillReal commented 1 year ago

Issue is still here

DirtyConcept commented 2 months ago

This issue shouldn't be happening on 1.7.0, if the issue still happens, I'll reopen this github issue