Closed dalelotts closed 7 years ago
Browsers will pre-fetch pages they "think" you will visit next, having logout be a GET can have quite unexpected side effects. It's not a huge problem for the end user, because you wouldn't lose any information, but it could get annoying.
Consider using POST or DELETE verbs.
@dalelotts Thanks! Do you mind opening this issue in the main repo where this is generated from? github.com/meanjs/mean
Can this be closed?
Browsers will pre-fetch pages they "think" you will visit next, having logout be a GET can have quite unexpected side effects. It's not a huge problem for the end user, because you wouldn't lose any information, but it could get annoying.
Consider using POST or DELETE verbs.