Welcome Guest, Not a member yet? Register   Sign In
Community Auth Token Name
#6

(01-18-2018, 09:04 AM)skunkbad Wrote:
(01-18-2018, 08:14 AM)reesethebeast Wrote: Modifying /community_auth/helpers/MY_form_helper.php for now has resolved the issue.

I added $form .= '<input type="hidden" name="my_token" value="'.html_escape($value).'" style="display:none;" />'."\n"; right before   return $form;.

If this needs to be a permanent solution, I will add a custom CI config variable for the name versus hard coding.

I'd still like to take a look at CA and see what needs to be done. I just need to make the time to do it. I can't say what the solution is, but maybe CA should not allow for the login token to be renamed as a config var. As the name is hard coded into the Authentication library, its that way because the Authentication library needs a unique name. I think what you're asking is, do we need two token names ... and the answer may be yes.

Thanks for the reply. Yes, I think 2 tokens are needed or at least 2 names. This solution is working for now and I will await the results of your research.
Reply


Messages In This Thread
Community Auth Token Name - by reesethebeast - 01-17-2018, 07:17 PM
RE: Community Auth Token Name - by skunkbad - 01-18-2018, 12:27 AM
RE: Community Auth Token Name - by reesethebeast - 01-18-2018, 06:42 AM
RE: Community Auth Token Name - by reesethebeast - 01-18-2018, 08:14 AM
RE: Community Auth Token Name - by skunkbad - 01-18-2018, 09:04 AM
RE: Community Auth Token Name - by reesethebeast - 01-18-2018, 09:29 AM
RE: Community Auth Token Name - by reesethebeast - 01-18-2018, 09:46 AM
RE: Community Auth Token Name - by skunkbad - 01-18-2018, 12:13 PM
RE: Community Auth Token Name - by reesethebeast - 01-18-2018, 02:21 PM
RE: Community Auth Token Name - by reesethebeast - 01-18-2018, 11:18 PM
RE: Community Auth Token Name - by skunkbad - 01-18-2018, 11:38 PM
RE: Community Auth Token Name - by reesethebeast - 01-20-2018, 08:20 PM
RE: Community Auth Token Name - by skunkbad - 01-20-2018, 10:16 PM
RE: Community Auth Token Name - by reesethebeast - 01-21-2018, 06:17 AM
RE: Community Auth Token Name - by skunkbad - 01-21-2018, 10:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB