Skip to content

fix: remove admin user creation todo comment#144

Open
galexrt wants to merge 1 commit intofivemanage:developfrom
galexrt:fix/remove_todo_admin_comment
Open

fix: remove admin user creation todo comment#144
galexrt wants to merge 1 commit intofivemanage:developfrom
galexrt:fix/remove_todo_admin_comment

Conversation

@galexrt
Copy link

@galexrt galexrt commented Mar 6, 2026

The CreateAdminUser() call already checks if an admin user exists or not before creating a new one.

While working on making some changes I saw the comment and that it seems already resolved.

The CreateAdminUser() call already checks if an admin user exists or
not before creating a new one.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
Copilot AI review requested due to automatic review settings March 6, 2026 10:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes an outdated TODO comment in cmd/lite/lite.go that described checking for and creating an admin user. The CreateAdminUser() function already implements the described behavior — checking if an admin exists before creating one.

Changes:

  • Removed a stale TODO comment that was already resolved by the existing CreateAdminUser() implementation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants