Playwright Tests / test (push) Canceled after 0s
Splits fn=admin into two independent modules: the original status dashboard stays at fn=admin, user management moves to a new fn=usr (IntranetController.AdminUsers.cs, fis.usr.js). Both are now reached through a single "Administration" sidemenu dropdown (Systemüberwachung / Benutzerverwaltung) gated by one shared fds_sys > 4 check, per ADR 0015 (supersedes 0014's "fold into one module" choice). Also fixes the password-reset validation to check only a plain 6-char minimum instead of silently also requiring ValidatePassword's default 2-uppercase/2-lowercase/2-digit composition, which contradicted the "mind. 6 Zeichen" message shown to the admin. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
27 lines
1.5 KiB
JavaScript
27 lines
1.5 KiB
JavaScript
$.extend($t, {
|
|
m_inv: 'Rechnungen'
|
|
, m_req: 'Aufträge'
|
|
, m_rep: 'Berichte'
|
|
, m_todo: 'ToDos'
|
|
, m_bcd: 'BankBuchungen'
|
|
, m_admin: 'Administration'
|
|
, m_admin_status: 'Systemüberwachung'
|
|
, m_usr: 'Benutzerverwaltung'
|
|
, rsp: 'Passwort ändern'
|
|
, pnm: 'Die Passwörter stimmen nicht überein'
|
|
, cps: 'Das neue Passwort wurde gespeichert.'
|
|
, pwr: 'Bitte wählen Sie ein starkes Passwort (min 8 Zeichen, davon jeweils min 2 Zahlen, kleine und große Buchstaben, Sonderzeichen sind optional).'
|
|
, smsc: 'Sie beötigen für diese Funktion einen SMS-Code.\nSoll dieser nun versandt werden?'
|
|
, wdc: 'Doppelt klicken, um die Box zu aktualisieren.'
|
|
, wdg: {}
|
|
});
|
|
$t.rspf = { sms: 'Der SMS-Code konnte nicht bestätigt werden', valid: 'Das alte Passwort ist nicht korrekt', requirements: 'Das Passwort entspricht nicht den Anforderungen.\n' + $t.pwr}
|
|
$fd = {
|
|
rsp: new fields_definition('', '', [
|
|
{ name: 'opw', label: 'aktuelles Passwort', type: 'password', required: true, attr: { 'auto-complete': 'current-password' }}
|
|
, {
|
|
name: 'npw', label: 'neues Passwort', type: 'password', required: true, pattern: '(.{6,})', attr: { 'auto-complete': 'new-password' }}
|
|
, { name: 'npwc', label: 'neues Passwort (Bestätigung)', type: 'password', required: true, attr: { 'auto-complete': 'new-password' }, note: $t.pwr}
|
|
, { name: 'code', label: 'SMS-Code', type: 'string', required: true, attr: { 'auto-complete': 'one-time-code' }}
|
|
])
|
|
}; |