Can't log out of read-only mode

I wanted to log out of read-only mode to test logging in with 3rd party services, but got this error:

DELETE https://forum.quantifiedself.com/session/Dan_Dascalescu 405 (Method Not Allowed)

(followed by a bunch of Ember errors).

It makes sense to not be able to delete my session if the DB is read-only, but perhaps better handling is possible.

1 Like

Sure @tgxworld can you add code to this path that skips the logout attempt when the site is read only?

1 Like

Done :slightly_smiling:

https://github.com/discourse/discourse/commit/bfea842d324c9f62ac33da64e5ec356493cbd635

2 Likes

This topic was automatically closed after 24 hours. New replies are no longer allowed.