Commit 8c52ee0c authored by Stelios Milidonis's avatar Stelios Milidonis
Browse files

Extra bits that got lost.

parent 007be52a
Pipeline #5382 failed with stage
in 0 seconds
......@@ -199,7 +199,7 @@ Examples:
Arguments:
from_auth:
The authentication service to migrate users accounts from.
Supported options: email, gitlab, ldap, saml.
Supported options: email, gitlab, phabricator, ldap, saml.
to_auth:
The authentication service to migrate users to.
......@@ -223,7 +223,7 @@ Examples:
Arguments:
from_auth:
The authentication service to migrate users accounts from.
Supported options: email, gitlab, ldap, saml.
Supported options: email, gitlab, phabricator, ldap, saml.
to_auth:
The authentication service to migrate users to.
......@@ -785,7 +785,7 @@ func migrateAuthToLdapCmdF(command *cobra.Command, args []string) error {
fromAuth := args[0]
matchField := args[2]
if len(fromAuth) == 0 || (fromAuth != "email" && fromAuth != "gitlab" && fromAuth != "saml") {
if len(fromAuth) == 0 || (fromAuth != "email" && fromAuth != "gitlab" && fromAuth != "phabricator" && fromAuth != "saml") {
return errors.New("Invalid from_auth argument")
}
......@@ -838,7 +838,7 @@ func migrateAuthToSamlCmdF(command *cobra.Command, args []string) error {
fromAuth := args[0]
if len(fromAuth) == 0 || (fromAuth != "email" && fromAuth != "gitlab" && fromAuth != "ldap") {
if len(fromAuth) == 0 || (fromAuth != "email" && fromAuth != "gitlab" && fromAuth != "phabricator" && fromAuth != "ldap") {
return errors.New("Invalid from_auth argument")
}
......
......@@ -232,6 +232,7 @@ func GenerateLimitedClientConfig(c *model.Config, diagnosticId string, license *
props["EmailLoginButtonTextColor"] = *c.EmailSettings.LoginButtonTextColor
props["EnableSignUpWithGitLab"] = strconv.FormatBool(*c.GitLabSettings.Enable)
props["EnableSignUpWithPhabricator"] = strconv.FormatBool(*c.PhabricatorSettings.Enable)
props["TermsOfServiceLink"] = *c.SupportSettings.TermsOfServiceLink
props["PrivacyPolicyLink"] = *c.SupportSettings.PrivacyPolicyLink
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment