mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-07 04:42:05 +00:00
feat: fixes (#228)
* feat: user login names * fix: user login names * fix: generate login name
This commit is contained in:
14
pkg/management/api/grpc/iam_converter.go
Normal file
14
pkg/management/api/grpc/iam_converter.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package grpc
|
||||
|
||||
import (
|
||||
iam_model "github.com/caos/zitadel/internal/iam/model"
|
||||
)
|
||||
|
||||
func iamFromModel(iam *iam_model.Iam) *Iam {
|
||||
return &Iam{
|
||||
IamProjectId: iam.IamProjectID,
|
||||
GlobalOrgId: iam.GlobalOrgID,
|
||||
SetUpDone: iam.SetUpDone,
|
||||
SetUpStarted: iam.SetUpStarted,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user