Created
June 6, 2017 06:58
-
-
Save andreconghau/2e3494dc2b80647a95364681b756fb07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var p = window.location.protocol + '//' | |
// current location must return 200 OK for this GET | |
window.location = window.location.href.replace(p, p + 'logout:password@') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Logout for Basic Auth by Htaccess