Add Google recaptcha
-
If the UVdesk staff can tell me how add reCaptcha also on operator login page I will be gratefu.
Security is very important to me, I want protect as the best possible the login page.
Maybe also customer login page.I tried but was unable to do on the login page.
First of all I need add the line with the recaptcha script<script src='https://www.google.com/recaptcha/api.js'></script>
I was able also to place the recaptcha but I'm unable to required it. It broken the page as when press submit the login page doesn't work... so please can you help me?
In the login pages can I insert the invisible recaptcha? I need the steps please.
-
@peopleinside said in Add Google recaptcha:
If the UVdesk staff can tell me how add reCaptcha also on operator login page I will be gratefu.
Security is very important to me, I want protect as the best possible the login page.
Maybe also customer login page.You can add google recaptcha here for admin side.
-
@Sanjeev I don't wanna have recaptcha on operator ticket creation but on login page.
-
You can add it here.
https://github.com/uvdesk/core-framework/blob/master/Resources/views/login.html.twig
-
@Sanjeev Yes, thanks!
As I said I was able to insert and see the visual ReCaptcha but unable to ask as mandatory and see the login form working.Without a guide to how to do I will not be able to insert ReCaptcha there.
Thanks anyway made a more stronger password for the operator.
-
@peopleinside
You need to define a name field for recaptcha as same we have added for input field.https://github.com/uvdesk/core-framework/blob/master/Resources/views/login.html.twig#L35
And make it required here as same we did for _username.
https://github.com/uvdesk/core-framework/blob/master/Resources/views/login.html.twig#L94And check if it works for you !!
-
@Sanjeev great, thanks! Maybe I forget the input type!
I will try, thanks!
-
@Sanjeev nothing, still unable to do.
I give up
-
-
i also want to add Google recaptchabut facing some issues in API call, try this method.
Darik elwan