File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ const nl = {
438438 }
439439 } ,
440440 captcha : {
441- proveNotRobot : "Check de 'I am human ' checkbox"
441+ proveNotRobot : "Check de 'Anti-robotverificatie ' checkbox"
442442 }
443443} ;
444444export default nl ;
Original file line number Diff line number Diff line change 3535 Cookies .remove (cookieNames .USERNAME );
3636 if ($conf .captchaEnabled ) {
3737 const mount = document .querySelector (" #captcha" );
38- mount .addEventListener (" frc:widget.complete" , function (event ) {
39- captchaShowWarning = false ;
40- });
38+ mount .addEventListener (" frc:widget.complete" , () => captchaShowWarning = false );
4139
4240 const sdk = new FriendlyCaptchaSDK ();
41+ const language = I18n .currentLocale ();
4342 sdk .createWidget ({
4443 element: mount,
4544 sitekey: $conf .captchaSiteKey ,
4645 startMode: " auto" ,
47- language: I18n . locale ,
46+ language: language ,
4847 });
4948 }
5049
323322 {#if ! initial && ! agreedWithTerms }
324323 <span class ="error" >{I18n .t (" login.termsRequired" )}</span >
325324 {/if }
326- <div id =" captcha" ></div >
325+ <div id =" captcha" class = " frc-captcha " ></div >
327326 {#if captchaShowWarning }
328327 <span class ="captcha error" >{I18n .t (" captcha.proveNotRobot" )}</span >
329328 {/if }
You can’t perform that action at this time.
0 commit comments