mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-05 23:58:02 -05:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user