[MM-53124] Add optional Forgot Password custom link to override the default flow on the login page (#23831)

* [MM-53124] Add optional Forgot Password custom link to override the default flow on the login page

* Fix i18n

* Fix test

* Added the enable/disable flag

* Fix test

* Fix e2e

* Add blockable link for the Customization navigation
Этот коммит содержится в:
Devin Binnie
2023-07-11 09:04:39 -04:00
коммит произвёл GitHub
родитель b59cba7e63
Коммит 116728424c
10 изменённых файлов: 161 добавлений и 48 удалений

Просмотреть файл

@@ -44,6 +44,7 @@ const onPremServerConfig = (): Partial<TestAdminConfig> => {
Number: false,
Uppercase: false,
Symbol: false,
EnableForgotLink: true,
},
PluginSettings: {
EnableUploads: true,
@@ -265,6 +266,7 @@ const defaultServerConfig: AdminConfig = {
Number: false,
Uppercase: false,
Symbol: false,
EnableForgotLink: true,
},
FileSettings: {
EnableFileAttachments: true,
@@ -345,6 +347,7 @@ const defaultServerConfig: AdminConfig = {
AboutLink: 'https://docs.mattermost.com/pl/about-mattermost',
HelpLink: 'https://mattermost.com/pl/help/',
ReportAProblemLink: 'https://mattermost.com/pl/report-a-bug',
ForgotPasswordLink: '',
SupportEmail: '',
CustomTermsOfServiceEnabled: false,
CustomTermsOfServiceReAcceptancePeriod: 365,