mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-27 14:48:45 +00:00
chore: Service Account Naming Consistency (#11557)
# Which Problems Are Solved Inconsistent naming of service account, found in the following variations: - Machine User - machine user - Service User - Machine Account - Technical Account - User: Type Machine # How the Problems Are Solved Attentive search and replace. Localizations have been translated using Copilot # Additional Changes Some unused methods have been removed from the Go code. # Additional Context - Closes #11285
This commit is contained in:
@@ -855,7 +855,7 @@ func (repo *AuthRequestRepo) checkLoginName(ctx context.Context, request *domain
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// let's check if it was a machine user
|
||||
// let's check if it was a service account
|
||||
if !user.MachineView.IsZero() {
|
||||
return zerrors.ThrowPreconditionFailed(nil, "AUTH-DGV4g", "Errors.User.NotHuman")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user