fix: add missing role field to User struct, fix unused variable

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-14 05:49:52 +00:00
parent aa4330e0a6
commit 79bc5620db
2 changed files with 2 additions and 1 deletions

View File

@@ -120,6 +120,7 @@ impl AuthManager {
setup_complete: true,
onboarding_complete,
totp: None,
role: UserRole::default(),
};
let user_file = self.data_dir.join("user.json");