diff --git a/filemanager.go b/filemanager.go index 9b69cd7a..9a8d7762 100644 --- a/filemanager.go +++ b/filemanager.go @@ -228,6 +228,8 @@ func New(database string, base User) (*FileManager, error) { m.db = db // Create the default user, making a copy of the base. + base.Username = "" + base.Password = "" m.DefaultUser = &base return m, nil }