Skip to content

logout.php call returns http 405 - method not allowed #19

@glubbah

Description

@glubbah

Hi,
I was investigating why the logout.php script included from login.php always returns "Token Invalid/Expired" i.e. when the returned http status is something other than 200. It doesn't seem to really do anything from what I can tell.

The http code that's returned whenever this script is called, passing in the old token, is 405 (method not allowed). I'm not sure the end-point (url /api/auth/logout), or perhaps the parameters sent for that request are valid?

(Everything else seems to work btw, thanks for putting this collection of scripts together!).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions