From 481631f6b541a0f00c7c3ba789c13ac934bdefbc Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Thu, 2 Jun 2022 15:22:11 -0700 Subject: Cleanup and backfill tests --- hotline/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hotline/server.go') diff --git a/hotline/server.go b/hotline/server.go index 067cf9f..b0ddf2d 100644 --- a/hotline/server.go +++ b/hotline/server.go @@ -355,7 +355,7 @@ func (s *Server) NewUser(login, name, password string, access []byte) error { } s.Accounts[login] = &account - return ioutil.WriteFile(s.ConfigDir+"Users/"+login+".yaml", out, 0666) + return FS.WriteFile(s.ConfigDir+"Users/"+login+".yaml", out, 0666) } // DeleteUser deletes the user account -- cgit