Skip to content

Commit

Permalink
Fix Joomla.renderMessages not found with mod_login (#41300)
Browse files Browse the repository at this point in the history
Co-authored-by: George Wilson <[email protected]>
  • Loading branch information
Fedik and wilsonge authored Nov 16, 2024
1 parent 1ac3bce commit 5169622
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ private function addLoginCSSAndJavascript(): void
}

if (!$wa->assetExists('script', 'plg_system_webauthn.login')) {
$wa->registerScript('plg_system_webauthn.login', 'plg_system_webauthn/login.js', [], ['defer' => true], ['core']);
$wa->registerScript('plg_system_webauthn.login', 'plg_system_webauthn/login.js', [], ['defer' => true], ['core', 'messages']);
}

$wa->useStyle('plg_system_webauthn.button')
Expand Down

0 comments on commit 5169622

Please sign in to comment.