nextcloud/server

Clear / refresh 2FA backup codes

Aperta

#9036 aperta il 30 mar 2018

 (9 commenti) (0 reazioni) (0 assegnatari)PHP (4865 fork)batch import
1. to developenhancementfeature: authenticationgood first issuehelp wanted

Metriche repository

Star
 (34.953 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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...

Guida contributor