diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-02 19:42:06 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-02 21:41:56 +0300 |
commit | 36bf522c8b06517fbc425305cd7f422fe1c18a5c (patch) | |
tree | 40d5b88d135cd09863d3ed7e19eb76866c87812d /apps/twofactor_backupcodes/appinfo/info.xml | |
parent | 98bac9952225e6c7b7a59e6f66007a8884bab082 (diff) |
Add job to check users for backup code reminders
Now that we can enforce 2FA we also should notify users that have
enabled 2FA but do not yet have backup codes generated.
This adds a repair step that inserts a background job to do this.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/twofactor_backupcodes/appinfo/info.xml')
-rw-r--r-- | apps/twofactor_backupcodes/appinfo/info.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/twofactor_backupcodes/appinfo/info.xml b/apps/twofactor_backupcodes/appinfo/info.xml index 3eed97adb0f..fd575ec12bb 100644 --- a/apps/twofactor_backupcodes/appinfo/info.xml +++ b/apps/twofactor_backupcodes/appinfo/info.xml @@ -5,7 +5,7 @@ <name>Two factor backup codes</name> <summary>A two-factor auth backup codes provider</summary> <description>A two-factor auth backup codes provider</description> - <version>1.4.0</version> + <version>1.4.1</version> <licence>agpl</licence> <author>Christoph Wurst</author> <namespace>TwoFactorBackupCodes</namespace> @@ -16,6 +16,12 @@ <nextcloud min-version="15" max-version="15" /> </dependencies> + <repair-steps> + <post-migration> + <step>OCA\TwoFactorBackupCodes\Migration\CheckBackupCodes</step> + </post-migration> + </repair-steps> + <two-factor-providers> <provider>OCA\TwoFactorBackupCodes\Provider\BackupCodesProvider</provider> </two-factor-providers> |