feat(config): make resolver support null value to delete a
key.
This commit is contained in:
1 parent
786f364743
commit
8b43e8b2ea
2 files changed
+8
-2
No files matched your search
+1
-1
@@ -108,7 +108,7 @@ func RegisterFirstUser(username, password, level string) (int64, error) {
|
||||
return 0, fmt.Errorf("failed to check existing users: %w", err)
|
||||
}
|
||||
if count > 0 {
|
||||
return 0, errors.New("registration closed: users already exist")
|
||||
return 0, ErrUsersExist
|
||||
}
|
||||
|
||||
result, err := tx.Exec(
|
||||
|
||||
Reference in new issue
Block a user