mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 01:05:00 +00:00
FIX: Allow logout for admins in staff-writes-only-mode (#18441)
This commit is contained in:
parent
136174e0ee
commit
c1a7fa6b5d
@ -55,7 +55,7 @@ const ApplicationRoute = DiscourseRoute.extend(OpenComposer, {
|
|||||||
this.controllerFor("application").send("toggleSidebar");
|
this.controllerFor("application").send("toggleSidebar");
|
||||||
},
|
},
|
||||||
|
|
||||||
logout: unlessReadOnly(
|
logout: unlessStrictlyReadOnly(
|
||||||
"_handleLogout",
|
"_handleLogout",
|
||||||
I18n.t("read_only_mode.logout_disabled")
|
I18n.t("read_only_mode.logout_disabled")
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user