Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
);
$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:
->willReturnSelf();
$notification->expects($this->once())
->method('setParsedMessage')
- ->with('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.')
+ ->with('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.')
->willReturnSelf();
$this->url->expects($this->once())