summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php
Commit message (Collapse)AuthorAgeFilesLines
* Add a key parameter to the new initial state APIChristoph Wurst2019-01-301-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Provide initial stateRoeland Jago Douma2019-01-291-2/+11
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Provide initial state for backupcodes in templateRoeland Jago Douma2019-01-151-1/+2
| | | | | | | This saves a direct request to the server when loading the backup codes. There is no need for this as the data is already known. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Consolidate personal two-factor provider settingsChristoph Wurst2018-10-021-1/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make 2FA backupcodes strictRoeland Jago Douma2018-03-261-8/+10
| | | | | | * and follow the interface again Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-261-2/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Hide 2FA backup codes if no other 2FA providers are enabledChristoph Wurst2017-05-021-1/+40
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not use underscores in PSR4 namespaces of the backup codes appChristoph Wurst2016-10-031-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add 2fa backup codes appChristoph Wurst2016-09-051-0/+102
* add backup codes app unit tests * add integration tests for the backup codes app