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
co-authored by Claude Opus 4.6
parent 077e2887b5
commit 8e27c11b74
2 changed files with 2 additions and 1 deletions
+1
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");