Skip to content

Commit

Permalink
fix(cmd): conflicting initial admin user
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed May 2, 2023
1 parent 15528b7 commit 4e67940
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/soft/migrate_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ var (
return fmt.Errorf("failed to create sqlite backend: %w", err)
}

// FIXME: Admin user gets created when the database is created.
sb.DeleteUser("admin") // nolint: errcheck

cfg = cfg.WithBackend(sb)

// Set SSH listen address
Expand Down

0 comments on commit 4e67940

Please sign in to comment.