Welcome Guest, Not a member yet? Register   Sign In
csrf error 500 with cookies disabled in browser
#2

found a dirty (?) solution, putting this in config.php instead of in a hook :


PHP Code:
if(!empty($_POST)) {
   if(!isset(
$_COOKIE[$config['sess_cookie_name']])) {
   
// REDIRECT TODO
   
}

Reply


Messages In This Thread
RE: csrf error 500 with cookies disabled in browser - by zoé - 02-07-2016, 04:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB