Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions keycloak-theme/src/login/KcPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,17 +227,6 @@ function RegisterPage({ kcContext }: { kcContext: KcContext & { pageId: 'registe
{fieldError('email') && <div className="field-error">{fieldError('email')}</div>}
</div>

<div className="field">
<label>{msgStr('username')}</label>
<input
type="text"
name="username"
defaultValue={attrs.username?.value ?? ''}
required
/>
{fieldError('username') && <div className="field-error">{fieldError('username')}</div>}
</div>

<div className="field">
<label>{msgStr('password')}</label>
<input
Expand Down
2 changes: 2 additions & 0 deletions keycloak-theme/src/login/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const { useI18n, ofTypeI18n } = i18nBuilder
reqDigit: 'At least one digit',
reqSpecial: 'At least one special character',
reqMatch: 'Passwords match',
invalidUserMessage: 'Invalid email or password.',
},
pl: {
loginTitle: 'Logowanie',
Expand Down Expand Up @@ -57,6 +58,7 @@ const { useI18n, ofTypeI18n } = i18nBuilder
reqDigit: 'Co najmniej jedna cyfra',
reqSpecial: 'Co najmniej jeden znak specjalny',
reqMatch: 'Hasła są zgodne',
invalidUserMessage: 'Nieprawidłowy email lub hasło.',
},
})
.build();
Expand Down
Loading