This commit is contained in:
syuilo
2025-02-22 10:49:05 +09:00
parent 16b4563ade
commit 13130f3600
4 changed files with 12 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ export class SystemAccountService {
return systemAccount.user as MiLocalUser;
} else {
const created = await this.createCorrespondingUser(type, {
username: `system.${type}`, // NOTE: (できれば避けたいが)system.から始まるかどうかでシステムアカウントかどうかを判定している処理もあるので変えないように
username: `system.${type}`, // NOTE: (できれば避けたいが) . が含まれるかどうかでシステムアカウントかどうかを判定している処理もあるので変えないように
name: this.meta.name,
});
this.cache.set(type, created);