Skip to content

Can't avoid deprecationWarning on Cake\Network\Exception\UnauthorizedException #64

@irongomme

Description

@irongomme

If I don't force plugin config with :

'unauthenticatedException' => 'Cake\Http\Exception\UnauthorizedException'

I always have the depracation warning.
After investigate, if I switch in JwtAuthenticate (l.101 ) from :

if (!class_exists(UnauthorizedException::class, false)) {

to :

if (!class_exists(UnauthorizedException::class)) {

So everything's fine ... is there anything to do, or have I to force the UnauthorizedException class on plugin config ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions