mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-18 08:14:17 +00:00
fix(auth): preserve xAI profile compatibility
This commit is contained in:
1 parent
4e4c949967
commit
44718e98ef
19 files changed
+1166
-106
No files matched your search
@@ -21,8 +21,9 @@ describe('account context helpers', () => {
|
||||
});
|
||||
|
||||
it('rejects reserved account profile names', () => {
|
||||
expect(isValidAccountProfileName('default')).toBe(false);
|
||||
expect(isValidAccountProfileName('Default')).toBe(false);
|
||||
for (const name of ['default', 'Default', 'xai', 'XAI', 'grok', 'GROK']) {
|
||||
expect(isValidAccountProfileName(name)).toBe(false);
|
||||
}
|
||||
});
|
||||
|
||||
it('falls back to default shared group for invalid persisted metadata', () => {
|
||||
|
||||
Reference in new issue
Block a user