nextcloud/server

Clear / refresh 2FA backup codes

Offen

#9.036 geöffnet am 30.03.2018

 (9 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)PHP (4.865 Forks)batch import
1. to developenhancementfeature: authenticationgood first issuehelp wanted

Repository-Metriken

Stars
 (34.953 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

as already mentioned in https://github.com/nextcloud/twofactor_totp/issues/244, maybe just a question... but shouldn't the Backup-Codes be cleared/deleted after an user disables his 2FA?

in the database they are still present, also for users which were completely deleted ages ago.

i'm not sure if this may even become a security issue, especially if a user enables 2FA again...

Contributor Guide