fix small mistakes
This commit is contained in:
parent
fc97735703
commit
bc3ec3cc54
|
@ -373,6 +373,7 @@ if (process.env.NEXT_PUBLIC_AZURE_AD_ENABLED === "true") {
|
|||
const { "not-before-policy": _, refresh_expires_in, ...data } = account;
|
||||
return _linkAccount ? _linkAccount(data) : undefined;
|
||||
};
|
||||
}
|
||||
|
||||
// Azure AD
|
||||
if (process.env.NEXT_PUBLIC_AZURE_AD_ENABLED === "true") {
|
||||
|
|
|
@ -59,13 +59,14 @@ export function getLogins() {
|
|||
if (process.env.NEXT_PUBLIC_AZURE_AD_B2C_ENABLED === "true") {
|
||||
buttonAuths.push({
|
||||
method: "azure-ad-b2c",
|
||||
name: process.env.AUTHENTIK_CUSTOM_NAME ?? "Azure AD B2C",
|
||||
name: process.env.AZURE_AD_B2C_CUSTOM_NAME ?? "Azure AD B2C",
|
||||
});
|
||||
}
|
||||
// Azure AD
|
||||
if (process.env.NEXT_PUBLIC_AZURE_AD_ENABLED === "true") {
|
||||
buttonAuths.push({
|
||||
method: "azure-ad",
|
||||
name: process.env.AUTHENTIK_CUSTOM_NAME ?? "Azure AD",
|
||||
name: process.env.AZURE_AD_CUSTOM_NAME ?? "Azure AD",
|
||||
});
|
||||
}
|
||||
// Battle.net
|
||||
|
|
|
@ -95,6 +95,7 @@ declare global {
|
|||
|
||||
// Azure AD B2C
|
||||
NEXT_PUBLIC_AZURE_AD_B2C_ENABLED?: string;
|
||||
AZURE_AD_B2C_CUSTOM_NAME?: string;
|
||||
AZURE_AD_B2C_TENANT_NAME?: string;
|
||||
AZURE_AD_B2C_CLIENT_ID?: string;
|
||||
AZURE_AD_B2C_CLIENT_SECRET?: string;
|
||||
|
@ -102,6 +103,7 @@ declare global {
|
|||
|
||||
// Azure AD
|
||||
NEXT_PUBLIC_AZURE_AD_ENABLED?: string;
|
||||
AZURE_AD_CUSTOM_NAME?: string;
|
||||
AZURE_AD_CLIENT_ID?: string;
|
||||
AZURE_AD_CLIENT_SECRET?: string;
|
||||
AZURE_AD_TENANT_ID?: string;
|
||||
|
|
Ŝarĝante…
Reference in New Issue