Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/croogo/croogo/Acl/src/Auth/ApiFormAuthenticate.php
<?php

namespace Croogo\Acl\Auth;

use
Cake\Auth\FormAuthenticate;
use
Cake\Http\Response;
use
Cake\Http\ServerRequest;
use
Cake\Http\Exception\ForbiddenException;

class
ApiFormAuthenticate extends FormAuthenticate
{

    public function
unauthenticated(ServerRequest $request, Response $response) {
        throw new
ForbiddenException($this->_config['authError']);
    }

}