CI 4.5.1 fixes

Changed .editorconfig
- Force lf line endings for compatibility with all systems.

Fixed Login
- Removed strtolower() call because getMethod() now returns all uppercase

Signed-off-by: objecttothis <objecttothis@gmail.com>
This commit is contained in:
objecttothis
2024-04-15 14:20:28 +04:00
committed by jekkos
parent d8ec3a4c6c
commit 730d01fb74

View File

@@ -41,7 +41,7 @@ class Login extends BaseController
'config' => $config
];
if(strtolower($this->request->getMethod()) !== 'POST')
if($this->request->getMethod() !== 'POST')
{
return view('login', $data);
}