Error at Login - "The action you requested is not allowed |
(01-31-2023, 09:16 PM)kenjis Wrote: It is the error message when CSRF token check fails. Hi Kenjis, many thanks for that link. I have read through it again. I cannot find my error. The code is a copy from another website that works. I merely changed the domain. Both use ssl, env changed domains, deleted all session just to be safe. I checked that the forms on both sites are identical and that the token is included in the form in both sites. I only except an Api and Admin route per below. Files permissions and ownership checked and are identical (drwxr-xr-x 2 www-data www-data 1327104 Feb 2 04:29 session). Any think I am missing. Much appreciate your feedback. public $globals = [ 'before' => [ 'csrf' => ['except' => ['Api/*', 'Admin/*'], ], ], 'after' => [ 'toolbar', ], ]; |
Welcome Guest, Not a member yet? Register Sign In |