]> git.r.bdr.sh - rbdr/mobius/commitdiff
patch: v0.5.2
authorJeff Halter <redacted>
Wed, 8 Jun 2022 00:45:33 +0000 (17:45 -0700)
committerJeff Halter <redacted>
Wed, 8 Jun 2022 00:45:33 +0000 (17:45 -0700)
hotline/server.go
hotline/version.go

index 768433bc60b253f853c3b944580467e150344fc5..64cc5277c7512abd43452ea97437f4256a6b9b0a 100644 (file)
@@ -362,8 +362,6 @@ func (s *Server) UpdateUser(login, newLogin, name, password string, access []byt
        s.mux.Lock()
        defer s.mux.Unlock()
 
        s.mux.Lock()
        defer s.mux.Unlock()
 
-       fmt.Printf("login: %v, newLogin: %v: ", login, newLogin)
-
        // update renames the user login
        if login != newLogin {
                err := os.Rename(s.ConfigDir+"Users/"+login+".yaml", s.ConfigDir+"Users/"+newLogin+".yaml")
        // update renames the user login
        if login != newLogin {
                err := os.Rename(s.ConfigDir+"Users/"+login+".yaml", s.ConfigDir+"Users/"+newLogin+".yaml")
index 0a12c7b960027ec5bb30e31fc4530758dd484aa1..bd3b49c5f09dd45db6949847f1357dcfa65a3951 100644 (file)
@@ -1,3 +1,3 @@
 package hotline
 
 package hotline
 
-const VERSION = "0.5.1"
+const VERSION = "0.5.2"