[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 удалений

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

@@ -121,6 +121,7 @@ export type ClientConfig = {
FeatureFlagBoardsProduct: string;
FeatureFlagCallsEnabled: string;
FeatureFlagGraphQL: string;
ForgotPasswordLink: string;
GfycatAPIKey: string;
GfycatAPISecret: string;
GoogleDeveloperKey: string;
@@ -154,6 +155,7 @@ export type ClientConfig = {
GitLabButtonColor: string;
OpenIdButtonText: string;
OpenIdButtonColor: string;
PasswordEnableForgotLink: string;
PasswordMinimumLength: string;
PasswordRequireLowercase: string;
PasswordRequireNumber: string;
@@ -477,6 +479,7 @@ export type PasswordSettings = {
Number: boolean;
Uppercase: boolean;
Symbol: boolean;
EnableForgotLink: boolean;
};
export type FileSettings = {
@@ -562,6 +565,7 @@ export type SupportSettings = {
AboutLink: string;
HelpLink: string;
ReportAProblemLink: string;
ForgotPasswordLink: string;
SupportEmail: string;
CustomTermsOfServiceEnabled: boolean;
CustomTermsOfServiceReAcceptancePeriod: number;