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");
|
||||
},
|
||||
|
||||
logout: unlessReadOnly(
|
||||
logout: unlessStrictlyReadOnly(
|
||||
"_handleLogout",
|
||||
I18n.t("read_only_mode.logout_disabled")
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue