mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 11:19:35 +01:00
daemon: Accept 'repeat' setting from untrusted users
Fixes #5352.
(cherry picked from commit 6e684d1b87)
This commit is contained in:
parent
1131d73050
commit
3fdeae0f0a
1 changed files with 1 additions and 0 deletions
|
|
@ -235,6 +235,7 @@ struct ClientSettings
|
|||
}
|
||||
else if (trusted
|
||||
|| name == settings.buildTimeout.name
|
||||
|| name == settings.buildRepeat.name
|
||||
|| name == "connect-timeout"
|
||||
|| (name == "builders" && value == ""))
|
||||
settings.set(name, value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue