Skip to content

logout seems not working in test.html #66

@dgurwan

Description

@dgurwan

When running test.html, logout doesnt not work, any clues ? here's console log

GET
XHR
http://drupal-7-26.dd:8083/ [HTTP/1.1 200 OK 549 ms]
"POST: http://drupal-7-26.dd:8083/?q=rest/system/connect.json" jdrupal.min.js:2:63
OPTIONS
XHR
http://drupal-7-26.dd:8083/ [HTTP/1.1 200 OK 524 ms]
POST
XHR
http://drupal-7-26.dd:8083/ [HTTP/1.1 200 OK 599 ms]
200 - OK

All is ok , when clicking on login, a popup is displayed with "Hi admin-local", seems good... but logout

"POST: http://drupal-7-26.dd:8083/?q=rest/user/logout.json" jdrupal.min.js:2:63
OPTIONS
XHR
http://drupal-7-26.dd:8083/ [HTTP/1.1 200 OK 542 ms]
POST
XHR
http://drupal-7-26.dd:8083/ [HTTP/1.1 406 Not Acceptable : User is not logged in. 637 ms]
"POST: http://drupal-7-26.dd:8083/?q=rest/user/logout.json - 406 - Not Acceptable : User is not logged in." jdrupal.min.js:2:547

["User is not logged in."] jdrupal.min.js:2:631
Expires: Sun, 19 Nov 1978 05:00:00 GMT

Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0

Last-Modified: Mon, 20 Mar 2017 22:17:06 GMT

Content-Type: application/json

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions