Open edjiang opened 8 years ago
Looks good.
We also need to add configuration support for a "view" for the logout route, now that we're returning HTML for that route.
Note to self for when I review in deatil: can this be used in an iframe to recreate a logout CSRF attack? If so we need to set X-Frame-Options: SAMEORIGIN on this response
@robertjd - I couldn't get Chrome to prefetch this page for me, so I wasn't able to test if it worked. Can you please test this and let me know if it works properly?
I said this would be "under 20 lines of code"; I got it to 19! Maybe you can get it to 1? ;]