From a5d6546df58b1ef1db48d3671f3a203ce15adfdb Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Mon, 23 Jan 2023 14:25:11 +0530 Subject: [PATCH] make authentik for all new users --- utils/signup-script-template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/signup-script-template b/utils/signup-script-template index 70a63a7..4c8a60e 100644 --- a/utils/signup-script-template +++ b/utils/signup-script-template @@ -19,3 +19,6 @@ sed -i 's/REPLACEME/{{username}}/g' /home/username/{meta-info.env,Caddyfile} sed -i 's/EMAIL=/EMAIL={{email}}/' /home/{{username}}/meta-info.env loginctl enable-linger {{username}} setquota -u {{username}} 20G 20G 0 0 / +a=$(curl -X POST "https://auth.p.projectsegfau.lt/api/v3/core/users/" -H "accept: application/json" -H "content-type: application/json" -H "Authorization: Bearer $(