daemon: Accept 'repeat' setting from untrusted users

Fixes #5352.
This commit is contained in:
Eelco Dolstra 2021-10-27 13:09:13 +02:00
parent 13a7a24ba5
commit 6e684d1b87

View file

@ -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);