From 730d01fb7430d9a0c2c5fa261f3359fb477f7613 Mon Sep 17 00:00:00 2001 From: objecttothis Date: Mon, 15 Apr 2024 14:20:28 +0400 Subject: [PATCH] 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 --- app/Controllers/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Login.php b/app/Controllers/Login.php index a4551d210..71aa60120 100644 --- a/app/Controllers/Login.php +++ b/app/Controllers/Login.php @@ -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); }