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:
parent
c9256b717f
commit
845987ce23
|
@ -72,7 +72,9 @@ export default Component.extend({
|
||||||
removeCookie("dosp", { path: "/" });
|
removeCookie("dosp", { path: "/" });
|
||||||
notices.push(
|
notices.push(
|
||||||
Notice.create({
|
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",
|
id: "forced-anonymous",
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
|
@ -3634,6 +3634,7 @@ en:
|
||||||
custom_message_template_topic: "Hey, I thought you might enjoy this topic!"
|
custom_message_template_topic: "Hey, I thought you might enjoy this topic!"
|
||||||
|
|
||||||
forced_anonymous: "Due to extreme load, this is temporarily being shown to everyone as a logged out user would see it."
|
forced_anonymous: "Due to extreme load, this is temporarily being shown to everyone as a logged out user would see it."
|
||||||
|
forced_anonymous_login_required: "The site is under extreme load and cannot be loaded at this time, try again in a few minutes."
|
||||||
|
|
||||||
footer_nav:
|
footer_nav:
|
||||||
back: "Back"
|
back: "Back"
|
||||||
|
|
Loading…
Reference in New Issue