hedgedoc: add github auth
This commit is contained in:
parent
53d5aea418
commit
f45b571ed3
4 changed files with 20 additions and 13 deletions
|
@ -37,7 +37,10 @@
|
|||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.overlays = [ (import ../pkgs) inputs.minecraft-servers.overlay ];
|
||||
nixpkgs.overlays = [
|
||||
(import ../pkgs)
|
||||
inputs.minecraft-servers.overlays.default
|
||||
];
|
||||
|
||||
# Limit the systemd journal to 100 MB of disk or the
|
||||
# last 7 days of logs, whichever happens first.
|
||||
|
|
|
@ -58,7 +58,7 @@ in
|
|||
"hedgedoc"
|
||||
];
|
||||
allowEmailRegister = false;
|
||||
allowAnonymousEdits = true;
|
||||
allowAnonymousEdits = false;
|
||||
allowFreeURL = true;
|
||||
requireFreeURLAuthentication = true;
|
||||
imageUploadType = "minio";
|
||||
|
@ -76,6 +76,10 @@ in
|
|||
accessKey = "$MINIO_ACCESS_KEY";
|
||||
secretKey = "$MINIO_SECRET_KEY";
|
||||
};
|
||||
github = {
|
||||
clientID = "$GITHUB_CLIENTID";
|
||||
clientSecret = "$GITHUB_CLIENTSECRET";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue