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