Skip to content

Commit 5169622

Browse files
Fedikwilsonge
andauthored
Fix Joomla.renderMessages not found with mod_login (joomla#41300)
Co-authored-by: George Wilson <[email protected]>
1 parent 1ac3bce commit 5169622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/system/webauthn/src/PluginTraits/AdditionalLoginButtons.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ private function addLoginCSSAndJavascript(): void
185185
}
186186

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

191191
$wa->useStyle('plg_system_webauthn.button')

0 commit comments

Comments
 (0)