mirror of
https://github.com/discourse/discourse.git
synced 2026-08-14 06:55:03 -05:00
FIX: Improve error message when login_required sites are under load
Previously a confusing message would pop up making private communities thing that anonymous access is granted.
This commit is contained in:
@@ -72,7 +72,9 @@ export default Component.extend({
|
||||
removeCookie("dosp", { path: "/" });
|
||||
notices.push(
|
||||
Notice.create({
|
||||
text: I18n.t("forced_anonymous"),
|
||||
text: this.siteSettings.login_required
|
||||
? I18n.t("forced_anonymous_login_required")
|
||||
: I18n.t("forced_anonymous"),
|
||||
id: "forced-anonymous",
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user