src/Modules/Auth/Providers/FileUserProvider.php
public function getUserByName($user_name)
    {
        if (isset($this->users[$user_name])) {
            $user = $this->users[$user_name];
            $user['username'] = $user_name;
            unset($user['groups']);

            return $user;
        } else {
            return false;
        }
    }
public function getUserByName($user_name)
    {
        if (isset($this->users[$user_name])) {
            $user = $this->users[$user_name];
            $user['username'] = $user_name;
            unset($user['groups']);

            return $user;
        } else {
            return false;
        }
    }
@param string $user_name

@return array|false