diff --git a/config/config-base.json b/config/config-base.json index c0c59ff..b12d081 100644 --- a/config/config-base.json +++ b/config/config-base.json @@ -418,6 +418,14 @@ "required": "false", "description": "Click the edit icon next to the \"User Page\" Setting to add custom Markdown messages that will be shown to the user. Note message cards are not private, little effort is required for anyone to view them." }, + "show_link": { + "name": "Show Link on Admin Login page", + "required": false, + "requires_restart": false, + "type": "bool", + "value": true, + "description": "Whether or not to show a link to the \"My Account\" page on the admin login screen, to direct lost users." + }, "referrals": { "name": "User Referrals", "required": false, diff --git a/html/login-modal.html b/html/login-modal.html index 2f9c3fb..e3c4a5d 100644 --- a/html/login-modal.html +++ b/html/login-modal.html @@ -7,6 +7,14 @@ {{ end }} {{ end }} + {{ if index . "userPageEnabled" }} + {{ if and .userPageEnabled .showUserPageLink }} +