b
This commit is contained in:
parent
ed1c2cebe0
commit
0a521eac33
7 changed files with 151 additions and 17 deletions
10
app/api.py
10
app/api.py
|
|
@ -24,11 +24,11 @@ def setup(path, auth_name, auth_seed, auth_realm,
|
|||
|
||||
op_result = GitOperation.clone("https://code.ungleich.ch/ungleich-public/ucloud-api.git")
|
||||
|
||||
content = f"AUTH_NAME={auth_name}" \
|
||||
f"AUTH_SEED={auth_seed}" \
|
||||
f"AUTH_REALM={auth_seed}" \
|
||||
f"REALM_ALLOWED={list(realm_allowed)}" \
|
||||
f"OTP_SERVER={otp_server}"
|
||||
content = f"AUTH_NAME={auth_name}\n" \
|
||||
f"AUTH_SEED={auth_seed}\n" \
|
||||
f"AUTH_REALM={auth_seed}\n" \
|
||||
f"REALM_ALLOWED={list(realm_allowed)}\n" \
|
||||
f"OTP_SERVER={otp_server}\n"
|
||||
|
||||
op_result.add(FileOperation.write,
|
||||
path=os.path.join("ucloud-api", ".env"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue