M3 Integration fixes
This commit is contained in:
@@ -10,8 +10,8 @@ class BasicAuth
|
||||
{
|
||||
public function handle(Request $request, Closure $next): mixed
|
||||
{
|
||||
$login = trim((string) m3_user());
|
||||
$password = (string) m3_legacy_password();
|
||||
$login = trim((string) m3User());
|
||||
$password = (string) m3LegacyPassword();
|
||||
|
||||
if ($login !== '' && $this->checkPassword($login, $password, '%%SYSTEM%%')) {
|
||||
return $next($request);
|
||||
|
||||
Reference in New Issue
Block a user