daemon.py: Add authentication to Watchtower.
Define abstract class AuthenticatedServer
This commit is contained in:
@@ -318,8 +318,10 @@ fi
|
||||
if [[ $1 == "configure_test_watchtower" ]]; then
|
||||
# carol is the watchtower of bob
|
||||
$carol setconfig -o run_local_watchtower true
|
||||
$carol setconfig -o watchtower_user wtuser
|
||||
$carol setconfig -o watchtower_password wtpassword
|
||||
$carol setconfig -o watchtower_address 127.0.0.1:12345
|
||||
$bob setconfig -o watchtower_url http://127.0.0.1:12345
|
||||
$bob setconfig -o watchtower_url http://wtuser:wtpassword@127.0.0.1:12345
|
||||
fi
|
||||
|
||||
if [[ $1 == "watchtower" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user