I've got a weird situation whereby I sometimes can't log in as clicking on a link (or going directly) to /wp-login.php shows me a blank page with the words 'Not Permitted'.
If I go to the /wp-login.php page directly from that 'Not Permitted' page, then I can log in using my details. If I try and log out again though, I reach that 'Not Permitted' page again and can't log out.
That's a bit long-winded, so I've created a video so you can see what I mean:
Has anyone come across this before? This is the first time I've seen this type of error, I've seen the 'are you sure you want to log out' error message before, but not this one...