diff --git a/object/user.go b/object/user.go index 76fd2899..62f0efe9 100644 --- a/object/user.go +++ b/object/user.go @@ -96,6 +96,10 @@ func GetUser(id string) *User { } func GetMaskedUser(user *User) *User { + if user == nil { + return nil + } + if user.Password != "" { user.Password = "***" } diff --git a/web/public/favicon.png b/web/public/favicon.png deleted file mode 100644 index 9c0b1564..00000000 Binary files a/web/public/favicon.png and /dev/null differ diff --git a/web/public/index.html b/web/public/index.html index dc710d18..46b808b2 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -9,12 +9,12 @@ name="description" content="Web site created using create-react-app" /> - + - +