of course, CI 4+ has strong CSRF capability and CSRF is not concerned with your filter. in my base opinion try to off
then try it if it is working also try to clear the cache
Code:
php spark cache: clear
in your new server sometimes server may take a while to accept a new cache. another solution try to remove //in front of
PHP Code:
$routes->match(['get', 'post'], 'login', 'User_public\Login\Login_Controller::login_create', ['filter' => 'LoggedInNoAccessFilter']);
another way try to check PHP v. these are among gave some headaches in the past now there is also CSRF attention needed on also CI 4.3.1 I have recently faced the same on this new version with its shield Auth
Codeigniter First, Codeigniter Then You!!
yekrinaDigitals