User: Fix text using lang variable - refs BT#20083

pull/4353/head
Angel Fernando Quiroz Campos 3 years ago
parent 8894353cc3
commit 46ab447f4c
  1. 3
      main/inc/lib/usermanager.lib.php

@ -6847,12 +6847,11 @@ SQL;
['active' => false],
['username = ?' => $userInfo['username']]
);
//XAccountDisabledByYAttempts
Display::addFlash(
Display::return_message(
sprintf(
get_lang('The account for username <i>%s</i> was disabled after %d failed login attempts.'),
get_lang('XAccountDisabledByYAttempts'),
$userInfo['username'],
$countFailedAttempts
),

Loading…
Cancel
Save