override authentication email_validate.php
Permalink
Hi,
I am trying to override the email_validated.php in concrete/authentication/concrete/ so that i can add a different link in the continue button (right now it goes to homepage)
so what i did is i created this path in the application/authentication/concrete/ and placed the custom email_validated.php in this folder but when i do a test registration it is still leading me to the unchanged email_validated.php
Do i need to do anything else? as far as i can tell from thishttp://documentation.concrete5.org/tutorials/override-almost-any-co...
this adjustment should be working
I am trying to override the email_validated.php in concrete/authentication/concrete/ so that i can add a different link in the continue button (right now it goes to homepage)
so what i did is i created this path in the application/authentication/concrete/ and placed the custom email_validated.php in this folder but when i do a test registration it is still leading me to the unchanged email_validated.php
Do i need to do anything else? as far as i can tell from thishttp://documentation.concrete5.org/tutorials/override-almost-any-co...
this adjustment should be working
In the controller's override, only keep the functions you need so as not to override everything.
You will need the function v() that you should modify.
You will need to create your own email_validated_custom() function that's copied on the original.
Finally, you will have to add your function's name "email_validated_custom" to the array $apiMethods which is a list of authorized functions. The array is at the top of the controller. You should probably remove the original email_validated from it.
That should do the trick