diff options
author | Michael Hunteman <michael@huntm.net> | 2024-08-31 13:46:11 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-08-31 13:46:11 -0700 |
commit | df22d74076e3af98c2ddf1b5f7b44c71f1972640 (patch) | |
tree | c77a7309ba636037c15ebe1e58f3c90a0891b415 | |
parent | 64099e47712d948eaf55b4f26dc6d5b7b424307c (diff) |
Use environment variable for admin password
-rw-r--r-- | server/test/guest_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/guest_test.go b/server/test/guest_test.go index 7a74443..4609d57 100644 --- a/server/test/guest_test.go +++ b/server/test/guest_test.go @@ -156,7 +156,7 @@ func getName() string { } func getCredentials() string { - return "{ \"username\": \"mhunteman\", \"password\": \"password\"}" + return fmt.Sprintf("{ \"username\": \"mhunteman\", \"password\": \"%s\"}", os.Getenv("PASS")) } func getUpdatedGuest() string { |