Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2022-06-24 18:03:50 +0300
committerGitHub <noreply@github.com>2022-06-24 18:03:50 +0300
commit57afc4fa1b7e30dcfd699e9cc9756163b8b89de2 (patch)
tree24a47132a56bbbf24545b7fb1cd2dcbc698a7f55 /plugins/Login
parent81cdad0ec0bb596937c6be02e24a09f1d92eeff9 (diff)
Fix failing tests (#19396)
* fix PasswordResetter tests * Fixes some typos * updates expected UI files * Fix long failing SegmentSelectorEditor test * fix some more tests * Fix UsersManager UI tests * apply PSR12 code formatting
Diffstat (limited to 'plugins/Login')
-rw-r--r--plugins/Login/lang/en.json12
-rw-r--r--plugins/Login/tests/Integration/PasswordResetterTest.php33
-rw-r--r--plugins/Login/tests/UI/Invite_spec.js3
-rw-r--r--plugins/Login/tests/UI/Login_spec.js4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Decline_default.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Invite_error.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Invite_set_password.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Invite_wrong_password.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedapi.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogin.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogme.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_noentries.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_withentries.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_forgot_password.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_login_fail.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_login_form.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_login_form_logout.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_password_reset.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_password_reset_complete.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_password_reset_confirm.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/Login_password_reset_error.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/NoAccess_login_noaccess.png4
-rw-r--r--plugins/Login/tests/UI/expected-screenshots/NoAccess_login_session_timeout.png4
23 files changed, 61 insertions, 67 deletions
diff --git a/plugins/Login/lang/en.json b/plugins/Login/lang/en.json
index 381f52dbb5..4e4a846295 100644
--- a/plugins/Login/lang/en.json
+++ b/plugins/Login/lang/en.json
@@ -15,8 +15,8 @@
"LogIn": "Sign in",
"LoginOrEmail": "Username or e-mail",
"HelpIpRange": "Enter one IP address or one IP range per line. You can use CIDR notation e.g: %1$s or you can use wildcards, e.g: %2$s or %3$s",
- "SettingBruteForceEnable": "Brute-force Detection",
- "SettingBruteForceEnableHelp": "Logs out users making too many password guesses within a timeframe for a while. This prevents anyone from testing testing all combinations. Getting a shared IP blocked also locks out its other users.",
+ "SettingBruteForceEnable": "Enable Brute-force Detection",
+ "SettingBruteForceEnableHelp": "Logs out users making too many password guesses within a timeframe for a while. This prevents anyone from testing all combinations. Getting a shared IP blocked also locks out its other users.",
"SettingBruteForceWhitelistIp": "Never block these IPs from logging in",
"SettingBruteForceBlacklistIp": "Always block these IPs from logging in",
"NotAllowListTakesPrecendence": "If an IP is on both the list of IPs to block and never block, it is blocked.",
@@ -39,9 +39,9 @@
"MailPasswordChangeBody2": "Hi %1$s,\n\nA request to reset the password was received from %2$s. Copy and paste the following link in your web browser within 24 hours to log in with your new username and password:\n\n%3$s\n\nThank you for using Matomo.",
"MailTopicPasswordChange": "Confirm changing the password",
"NewPassword": "New password",
- "NewPasswordRepeat": "New password (again)",
+ "NewPasswordRepeat": "New password (repeat)",
"PasswordChanged": "You can now use your new password to log in.",
- "PasswordRepeat": "Password (again)",
+ "PasswordRepeat": "Password (repeat)",
"PasswordsDoNotMatch": "Mismatching passwords.",
"PasswordResetAlreadySent": "You requested too many password resets recently. A new request can be made in one hour. Your administrator can help you if that doesn't work.",
"WrongPasswordEntered": "Please enter your password.",
@@ -55,8 +55,8 @@
"SuspiciousLoginAttemptsInLastHourEmail4": "Set up two-factor authentication so attackers need more than just your password to log in.",
"SuspiciousLoginAttemptsInLastHourEmail5": "Set up a list of IP addresses to never block if your Matomo has a limited set of users or IPs users access it from. %1$sRead the docs for more info.%2$s",
"LoginNotAllowedBecauseUserLoginBlocked": "Logging in has been turned off since a suspicious amount of failed attempts were made during the last hour.",
- "InvitationTitle": "Accept",
- "InvitationDeclineTitle": "Decline",
+ "InvitationTitle": "Accept invitation",
+ "InvitationDeclineTitle": "Decline invitation",
"InvitationDeclineBody": "Decline this invitation?",
"InvitationHints": "(you can leave the page to cancel this action)",
"Accept": "Accept",
diff --git a/plugins/Login/tests/Integration/PasswordResetterTest.php b/plugins/Login/tests/Integration/PasswordResetterTest.php
index 632f5b7618..250676eb49 100644
--- a/plugins/Login/tests/Integration/PasswordResetterTest.php
+++ b/plugins/Login/tests/Integration/PasswordResetterTest.php
@@ -1,4 +1,5 @@
<?php
+
/**
* Matomo - free/libre analytics platform
*
@@ -8,7 +9,6 @@
namespace Piwik\Plugins\Login\tests\Integration;
-
use PHPMailer\PHPMailer\PHPMailer;
use Piwik\Access;
use Piwik\Auth;
@@ -17,7 +17,6 @@ use Piwik\Option;
use Piwik\Plugin\Manager;
use Piwik\Tests\Framework\TestCase\IntegrationTestCase;
use Piwik\Plugins\Login\PasswordResetter;
-use Piwik\Plugins\UsersManager\Model;
use Piwik\Tests\Framework\Fixture;
/**
@@ -28,11 +27,6 @@ class PasswordResetterTest extends IntegrationTestCase
const NEWPASSWORD = 'newpassword';
/**
- * @var Model
- */
- private $userModel;
-
- /**
* @var string
*/
private $capturedToken;
@@ -46,20 +40,19 @@ class PasswordResetterTest extends IntegrationTestCase
{
parent::setUp();
$this->passwordResetter = new PasswordResetter();
- $this->userModel = new Model();
$this->capturedToken = null;
Manager::getInstance()->loadPluginTranslations();
}
- public function test_passwordReset_processWorksAsExpected()
+ public function testPasswordResetProcessWorksAsExpected()
{
$this->passwordResetter->setHashedPasswordForLogin('superUserLogin', $this->capturedToken);
$this->checkPasswordIs(self::NEWPASSWORD);
}
- public function tests_passwordReset_worksUpToThreeTimesInAnHour()
+ public function testsPasswordResetWorksUpToThreeTimesInAnHour()
{
$this->passwordResetter->initiatePasswordResetProcess('superUserLogin', self::NEWPASSWORD);
@@ -74,10 +67,10 @@ class PasswordResetterTest extends IntegrationTestCase
$this->assertNotEquals($token, $this->capturedToken);
}
- public function test_passwordReset_notAllowedMoreThanThreeTimesInAnHour()
+ public function testPasswordResetNotAllowedMoreThanThreeTimesInAnHour()
{
$this->expectException(\Exception::class);
- $this->expectExceptionMessage('You have requested too many password resets recently. A new request can be made in one hour. If you have problems resetting your password, please contact your administrator for help.');
+ $this->expectExceptionMessage('You requested too many password resets recently. A new request can be made in one hour. Your administrator can help you if that doesn\'t work.');
$this->passwordResetter->initiatePasswordResetProcess('superUserLogin', self::NEWPASSWORD);
@@ -94,14 +87,14 @@ class PasswordResetterTest extends IntegrationTestCase
$this->passwordResetter->initiatePasswordResetProcess('superUserLogin', self::NEWPASSWORD);
}
- public function test_passwordReset_newRequestAllowedAfterAnHour()
+ public function testPasswordResetNewRequestAllowedAfterAnHour()
{
$this->passwordResetter->initiatePasswordResetProcess('superUserLogin', self::NEWPASSWORD);
$optionName = $this->passwordResetter->getPasswordResetInfoOptionName('superUserLogin');
$data = json_decode(Option::get($optionName), true);
- $data['timestamp'] = time()-3601;
+ $data['timestamp'] = time() - 3601;
$data['requests'] = 3;
Option::set($optionName, json_encode($data));
@@ -117,10 +110,10 @@ class PasswordResetterTest extends IntegrationTestCase
$this->assertEquals(1, $data['requests']);
}
- public function test_passwordReset_shouldNotAllowTokenToBeUsedMoreThanOnce()
+ public function testPasswordResetShouldNotAllowTokenToBeUsedMoreThanOnce()
{
$this->expectException(\Exception::class);
- $this->expectExceptionMessage('Token is invalid or has expired');
+ $this->expectExceptionMessage('The token is invalid or has expired.');
$this->passwordResetter->initiatePasswordResetProcess('superUserLogin', self::NEWPASSWORD);
$this->assertNotEmpty($this->capturedToken);
@@ -137,7 +130,7 @@ class PasswordResetterTest extends IntegrationTestCase
$this->passwordResetter->checkValidConfirmPasswordToken('superUserLogin', $oldCapturedToken);
}
- public function test_passwordReset_shouldNeverGenerateTheSameToken()
+ public function testPasswordResetShouldNeverGenerateTheSameToken()
{
$this->passwordResetter->initiatePasswordResetProcess('superUserLogin', self::NEWPASSWORD);
$this->assertNotEmpty($this->capturedToken);
@@ -149,10 +142,10 @@ class PasswordResetterTest extends IntegrationTestCase
$this->assertNotEquals($oldCapturedToken, $this->capturedToken);
}
- public function test_passwordReset_shouldNotAllowOldTokenToBeUsedAfterAnotherResetRequest()
+ public function testPasswordResetShouldNotAllowOldTokenToBeUsedAfterAnotherResetRequest()
{
$this->expectException(\Exception::class);
- $this->expectExceptionMessage('Token is invalid or has expired');
+ $this->expectExceptionMessage('The token is invalid or has expired.');
$this->passwordResetter->initiatePasswordResetProcess('superUserLogin', self::NEWPASSWORD);
$this->assertNotEmpty($this->capturedToken);
@@ -205,4 +198,4 @@ class PasswordResetterTest extends IntegrationTestCase
]),
];
}
-} \ No newline at end of file
+}
diff --git a/plugins/Login/tests/UI/Invite_spec.js b/plugins/Login/tests/UI/Invite_spec.js
index d937f2c891..7eb791b337 100644
--- a/plugins/Login/tests/UI/Invite_spec.js
+++ b/plugins/Login/tests/UI/Invite_spec.js
@@ -31,8 +31,9 @@ describe('Invite', function () {
await page.evaluate(function(){
$('#login_form_submit').click();
});
+ await page.waitForNetworkIdle();
expect(await page.screenshot({ fullPage: true })).to.matchImage('wrong_password');
});
-}); \ No newline at end of file
+});
diff --git a/plugins/Login/tests/UI/Login_spec.js b/plugins/Login/tests/UI/Login_spec.js
index dbbb4f326a..93ed3e3115 100644
--- a/plugins/Login/tests/UI/Login_spec.js
+++ b/plugins/Login/tests/UI/Login_spec.js
@@ -156,12 +156,12 @@ describe("Login", function () {
var expectedMailOutputFile = PIWIK_INCLUDE_PATH + '/tmp/Login.resetPassword.mail.json',
fileContents = require("fs").readFileSync(expectedMailOutputFile),
mailSent = JSON.parse(fileContents),
- resetUrl = mailSent.contents.match(/http:\/\/[^\s]+resetToken[^\s]+<\/p>/);
+ resetUrl = mailSent.contents.match(/http:\/\/[^"]+resetToken[^"]+"/);
if (!resetUrl || !resetUrl[0]) {
throw new Error(`Could not find reset URL in email, captured mail info: ${fileContents}`)
}
- resetUrl = resetUrl[0].replace(/<\/p>$/, '');
+ resetUrl = resetUrl[0].replace(/\"$/, '');
resetUrl = await page.evaluate((resetUrl) => {
return piwikHelper.htmlDecode(resetUrl);
}, resetUrl);
diff --git a/plugins/Login/tests/UI/expected-screenshots/Decline_default.png b/plugins/Login/tests/UI/expected-screenshots/Decline_default.png
index fa9acf274f..9a4fe458f1 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Decline_default.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Decline_default.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b4f71261c0c6e74cae66aba9d6749eb2e0852acb802349e573d35f38ad6a7861
-size 24210
+oid sha256:42adaabe0ae20e43f798ea9329da9fdf42f7fa4580c211217322829a82edd8cd
+size 21548
diff --git a/plugins/Login/tests/UI/expected-screenshots/Invite_error.png b/plugins/Login/tests/UI/expected-screenshots/Invite_error.png
index 5d5cc8fcd4..311289f3c7 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Invite_error.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Invite_error.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c273f68c05b5c8398aa2248a92633bc83b5209188b859d173d76be5a3d96f630
-size 40102
+oid sha256:35af886df3b8305375a45659de2f14af79fec9903a81642e18e193853ed52f28
+size 40378
diff --git a/plugins/Login/tests/UI/expected-screenshots/Invite_set_password.png b/plugins/Login/tests/UI/expected-screenshots/Invite_set_password.png
index 4979ed5066..fe50344e56 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Invite_set_password.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Invite_set_password.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d59911d79ef8cf203efa7a7d64024fe66c9c655dcf6ec32900954be7d9e7b494
-size 27166
+oid sha256:fab1147e5e81c984bb699b6ba3e50800c868c24498d0a6e5e2a5e21a643e534b
+size 27319
diff --git a/plugins/Login/tests/UI/expected-screenshots/Invite_wrong_password.png b/plugins/Login/tests/UI/expected-screenshots/Invite_wrong_password.png
index ac1265c02a..84f56b0b3c 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Invite_wrong_password.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Invite_wrong_password.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9a8c371e544e1964269b1d6200e933a719a47a6b3dcba01549588dc67bb2f3ea
-size 32681
+oid sha256:e52c0b45c5834cab0cb921a6d07cda995f0cfce71c2540832a977e7d01b84e75
+size 32893
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedapi.png b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedapi.png
index 7d1919e08f..2e6fc6190a 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedapi.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedapi.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:96d146d0451779db1b91b233b8e65a36406a096339ad3138ac3b6d693968f785
-size 13253
+oid sha256:eb616d5e970ca099978cdbe65bd2b35087c49c1beef846e9a890af094f7c1de2
+size 12385
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogin.png b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogin.png
index 9a42cde0a9..5e8296fdd2 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogin.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogin.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bf87c9ad23692ec0ffe133b3cd75aa2aafc729ccbb094e8628d6b99d0f802517
-size 48163
+oid sha256:77893976b0db582a288fe8e1e0f1f87e23f3b1c76885227c0a3c662dad12a5e0
+size 43148
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogme.png b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogme.png
index 9a42cde0a9..5e8296fdd2 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogme.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_blockedlogme.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bf87c9ad23692ec0ffe133b3cd75aa2aafc729ccbb094e8628d6b99d0f802517
-size 48163
+oid sha256:77893976b0db582a288fe8e1e0f1f87e23f3b1c76885227c0a3c662dad12a5e0
+size 43148
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_noentries.png b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_noentries.png
index 1f0b84b090..73fe1d8e3a 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_noentries.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_noentries.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:47b698f988ed27aa73e26ccc1036a2e19b12d21ef491c052be52944745c84279
-size 50753
+oid sha256:873eb18f0f551f70504cdfa0b3f7e2eb05b564f3fd809fe5f880f06a1599099f
+size 48843
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_withentries.png b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_withentries.png
index 175f65bf48..3dd901097d 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_withentries.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_bruteforcelog_withentries.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:0f63bd20d066b619e26f486525bf565cb03a263432f864179d71cb249521d5a5
-size 68011
+oid sha256:d63af0574b2fd491127a6daadeb92165436f65916517059a513e754698a4c908
+size 61832
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_forgot_password.png b/plugins/Login/tests/UI/expected-screenshots/Login_forgot_password.png
index 2525c91025..64ab28507f 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_forgot_password.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_forgot_password.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d3ace83bcac411282ada8a81a209c30e70d3ea70f0db03ff6c06b889d6c60d58
-size 29973
+oid sha256:87d82e89940d56e08a67944a5c5cb484cbff393619d4aa5d0949d3a57fbcd4be
+size 30014
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_login_fail.png b/plugins/Login/tests/UI/expected-screenshots/Login_login_fail.png
index 435afa8475..606d062e4d 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_login_fail.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_login_fail.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:79c147975d2d9560ba63653449e0f2f0aabe58557bb4cd1dedaa9bcf376d6fd4
-size 32041
+oid sha256:6bc910d3325eaffa8fa7043037510e0d5362ffc64fce1481f5cca9a6c021ba97
+size 30851
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_login_form.png b/plugins/Login/tests/UI/expected-screenshots/Login_login_form.png
index 0e8689e442..7e64ae2ca3 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_login_form.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_login_form.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a5bad4d68be89fb9986d704e6a09cebfbd2536674f4ba780e1e656eacb13dadc
-size 24653
+oid sha256:5125795ee575cb102187586db5797559240b09d3978df194d7e6dadde6e1d6b7
+size 24720
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_login_form_logout.png b/plugins/Login/tests/UI/expected-screenshots/Login_login_form_logout.png
index 0e8689e442..7e64ae2ca3 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_login_form_logout.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_login_form_logout.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a5bad4d68be89fb9986d704e6a09cebfbd2536674f4ba780e1e656eacb13dadc
-size 24653
+oid sha256:5125795ee575cb102187586db5797559240b09d3978df194d7e6dadde6e1d6b7
+size 24720
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_password_reset.png b/plugins/Login/tests/UI/expected-screenshots/Login_password_reset.png
index 02ff47119b..334c20cda0 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_password_reset.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_password_reset.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a746bb9a3c3ce0d903932b0b9f02e5c023ce0eabd0ca4630dfa4f73681d8386e
-size 35075
+oid sha256:201f7f23022bfb14f7474396dc33d613078d4e4915efd0050d493cf36fecc66a
+size 29560
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_complete.png b/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_complete.png
index 444c34ef1c..06fd0ec25d 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_complete.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_complete.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:75c01e8424d84fcffd001bdc461150ddc599f1442b509c8279443289296f8d8f
-size 29322
+oid sha256:858980e823577ccdad8e1cea514a39a872bacba86e6b0e8f66710a273ef13536
+size 30290
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_confirm.png b/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_confirm.png
index a8d316b14b..76295dc9c4 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_confirm.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_confirm.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e1dc84be8b6ff77a388fb1f32ab9264a2f3b55f103117b2f697dd9fd6d4f00e3
-size 34453
+oid sha256:bde70cb6b9bca8218f971e119f7296134d4fadb46168ff861293f9d5d6f6afa6
+size 32022
diff --git a/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_error.png b/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_error.png
index 5518708478..22bad72450 100644
--- a/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_error.png
+++ b/plugins/Login/tests/UI/expected-screenshots/Login_password_reset_error.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e06a70d46e00b5b3ee12f67c404302873240d432d704d8ece727c495b8d1591f
-size 38921
+oid sha256:a90a83ff3dba45d0787c1436af0a251f77afb19497374273b58665ce303a4d07
+size 38980
diff --git a/plugins/Login/tests/UI/expected-screenshots/NoAccess_login_noaccess.png b/plugins/Login/tests/UI/expected-screenshots/NoAccess_login_noaccess.png
index 1f36d7d639..c91bc90680 100644
--- a/plugins/Login/tests/UI/expected-screenshots/NoAccess_login_noaccess.png
+++ b/plugins/Login/tests/UI/expected-screenshots/NoAccess_login_noaccess.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8cad0d53718fdf9e776a22b2f0a1c9ced6b710585e085789e697f7a4f725f2af
-size 31950
+oid sha256:af33441214d2a2991128f71af2195ddb1289a18440490534a7bc4d976f1c547c
+size 31992
diff --git a/plugins/Login/tests/UI/expected-screenshots/NoAccess_login_session_timeout.png b/plugins/Login/tests/UI/expected-screenshots/NoAccess_login_session_timeout.png
index 84a2b2ae4b..ddba3053e9 100644
--- a/plugins/Login/tests/UI/expected-screenshots/NoAccess_login_session_timeout.png
+++ b/plugins/Login/tests/UI/expected-screenshots/NoAccess_login_session_timeout.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c943113aa506b42f3055fd2735fefd42adeebdc53941039f4525d968d69bbc2e
-size 34156
+oid sha256:94a563127cc9f1d4c33cd89772dfc3302040cb4f6be2d49780fcae88d81d8d05
+size 34207