diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-07-16 10:23:34 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-07-16 12:35:20 +0200 |
commit | 51517d3a36d6571cc7905632f6db1d4a8f3c4863 (patch) | |
tree | 4ef6d3bb6f3088322c81fd36ab9f51094e841bc1 /apps/twofactor_backupcodes/lib | |
parent | d94d42f089757dbe7d041616c559509f14c5d9af (diff) | |
download | nextcloud-server-51517d3a36d6571cc7905632f6db1d4a8f3c4863.tar.gz nextcloud-server-51517d3a36d6571cc7905632f6db1d4a8f3c4863.zip |
Add icon to twofactor_backupcodes notification
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/twofactor_backupcodes/lib')
-rw-r--r-- | apps/twofactor_backupcodes/lib/Notifications/Notifier.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php index 658f23a7a93..e4e2bcebb68 100644 --- a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php +++ b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php @@ -60,6 +60,9 @@ class Notifier implements INotifier { ); $notification->setLink($this->url->linkToRouteAbsolute('settings.PersonalSettings.index', ['section' => 'security'])); + + $notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/password.svg'))); + return $notification; default: |