test
This commit is contained in:
@@ -101,7 +101,7 @@ in
|
|||||||
|
|
||||||
rm -f /run/postfix/mastodon.cf || true
|
rm -f /run/postfix/mastodon.cf || true
|
||||||
mkdir /run/postfix/ || true # Create /run/postfix if it doesn't exist
|
mkdir /run/postfix/ || true # Create /run/postfix if it doesn't exist
|
||||||
export hashedPassword=$(mkpasswd -sm bcrypt "$password")
|
export hashedPassword=$(${lib.getExe pkgs.mkpasswd} -sm bcrypt "$password")
|
||||||
echo "noreply.mastodon@${sp.domain}: $hashedPassword" > /run/postfix/mastodon.cf
|
echo "noreply.mastodon@${sp.domain}: $hashedPassword" > /run/postfix/mastodon.cf
|
||||||
chmod 440 /run/postfix/mastodon.cf
|
chmod 440 /run/postfix/mastodon.cf
|
||||||
chown ${config.services.postfix.user}:${config.services.postfix.group} /run/postfix/mastodon.cf
|
chown ${config.services.postfix.user}:${config.services.postfix.group} /run/postfix/mastodon.cf
|
||||||
@@ -124,7 +124,7 @@ in
|
|||||||
OIDC_DISPLAY_NAME= "Kanidm";
|
OIDC_DISPLAY_NAME= "Kanidm";
|
||||||
OIDC_ISSUER = issuer;
|
OIDC_ISSUER = issuer;
|
||||||
OIDC_DISCOVERY = "true";
|
OIDC_DISCOVERY = "true";
|
||||||
OIDC_SCOPE = "openid,profile";
|
OIDC_SCOPE = "openid,profile,email";
|
||||||
OIDC_UID_FIELD = "preferred_username";
|
OIDC_UID_FIELD = "preferred_username";
|
||||||
OIDC_CLIENT_ID = oauthClientID;
|
OIDC_CLIENT_ID = oauthClientID;
|
||||||
OIDC_REDIRECT_URI = oauthRedirectURL;
|
OIDC_REDIRECT_URI = oauthRedirectURL;
|
||||||
|
Reference in New Issue
Block a user