refactor(copyparty): name credential hash
This commit is contained in:
@@ -20,11 +20,11 @@ let
|
|||||||
|
|
||||||
port = 3923;
|
port = 3923;
|
||||||
|
|
||||||
credentialName = "password-${builtins.substring 0 16 (builtins.hashString "sha256" accountName)}";
|
credentialHash = builtins.substring 0 16 (builtins.hashString "sha256" accountName);
|
||||||
|
|
||||||
passwordPlaceholder = "@COPYPARTY_PASSWORD_${
|
credentialName = "password-${credentialHash}";
|
||||||
builtins.substring 0 16 (builtins.hashString "sha256" accountName)
|
|
||||||
}@";
|
passwordPlaceholder = "@COPYPARTY_PASSWORD_${credentialHash}@";
|
||||||
|
|
||||||
globalSettings = {
|
globalSettings = {
|
||||||
i = "0.0.0.0";
|
i = "0.0.0.0";
|
||||||
|
|||||||
Reference in New Issue
Block a user