summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib/Notifications
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-07-16 10:23:12 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2019-07-16 10:23:12 +0200
commitd94d42f089757dbe7d041616c559509f14c5d9af (patch)
tree31219fe5836080688dabfdbc36cdc84fe31e97cd /apps/twofactor_backupcodes/lib/Notifications
parentc048c56411d86a3f8509ddae66743d4f189f2deb (diff)
downloadnextcloud-server-d94d42f089757dbe7d041616c559509f14c5d9af.tar.gz
nextcloud-server-d94d42f089757dbe7d041616c559509f14c5d9af.zip
Fix wording of backupcodes notification
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/twofactor_backupcodes/lib/Notifications')
-rw-r--r--apps/twofactor_backupcodes/lib/Notifications/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php
index df92c7a9e01..658f23a7a93 100644
--- a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php
+++ b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php
@@ -56,7 +56,7 @@ class Notifier implements INotifier {
$notification->setParsedSubject(
$l->t('Generate backup codes')
)->setParsedMessage(
- $l->t('You have enabled two-factor authentication but have not yet generated backup codes. Be sure to do this in case you lose access to your second factor.')
+ $l->t('You enabled two-factor authentication but did not generate backup codes yet. They are needed to restore access to your account in case you lose your second factor.')
);
$notification->setLink($this->url->linkToRouteAbsolute('settings.PersonalSettings.index', ['section' => 'security']));