Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit b44235e

Browse files
author
Billy Clark
committed
bug, incorrect php syntax
1 parent a27263c commit b44235e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/material/core/loginuserpass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function onRecaptchaLoad() {
2727
var loginButton = document.querySelector('button');
2828

2929
grecaptcha.render(loginButton, {
30-
sitekey: $siteKey,
30+
sitekey: '<?= htmlentities($siteKey) ?>',
3131
callback: onSubmit
3232
});
3333
}

0 commit comments

Comments
 (0)