fix login error on keycloak template
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-15 11:16:56 +03:00
parent 2e46cc41a1
commit 890d6de92e
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<#import "template.ftl" as layout>
<@layout.registrationLayout displayMessage=!messagesPerField.existsError('username','password'); section>
<@layout.registrationLayout displayMessage=true; section>
<#if section = "form">
<form id="kc-form-login" action="${url.loginAction}" method="post">
<div class="form-group">

View File

@ -15,7 +15,7 @@ setup('authenticate', async ({ page }) => {
// Вводим креды
await page.getByRole('textbox', { name: 'Username or email' }).fill('testuser');
await page.getByRole('textbox', { name: 'Password' }).fill('0');
await page.getByRole('textbox', { name: 'Password' }).fill('E7N-A26-2zf-wsA');
await page.getByRole('button', { name: 'Sign In' }).click();
// Ждём редирект обратно на приложение