mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-26 02:34:36 +00:00
Fix logout triggering 404 error
See https://talk.tiddlywiki.org/t/logout-error-xmlhttprequest-error-code-404/5590/5 for details We can't POST to the logout endpoint without triggering authentication, so we report in advance whether logout is supported.
This commit is contained in:
@@ -25,6 +25,7 @@ The JSON data returned comprises the following properties:
|
||||
* ''username'' - the username of the currently authenticated user. If undefined, the [[WebServer Parameter: anon-username]] is returned instead
|
||||
* ''anonymous'' - true if the current user is anonymous
|
||||
* ''read_only'' - true if the current user is restricted to read only access to the server
|
||||
* ''logout_is_available'' - true if the server supports logging out (optional, defaults to true)
|
||||
* ''space'' - always contains the object `{recipe: "default"}`
|
||||
* ''tiddlywiki_version'' - the current TiddlyWiki version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user