nextcloud/server

Clear / refresh 2FA backup codes

Open

#9.036 aberto em 30 de mar. de 2018

Ver no GitHub
 (9 comments) (0 reactions) (0 assignees)PHP (4.865 forks)batch import
1. to developenhancementfeature: authenticationgood first issuehelp wanted

Métricas do repositório

Stars
 (34.953 stars)
Métricas de merge de PR
 (Mesclagem média 20d) (627 fundiu PRs em 30d)

Description

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

Guia do colaborador