mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 19:44:21 +00:00
6fa62ccd0a
* feat: user login names * fix: user login names * fix: generate login name
15 lines
278 B
Go
15 lines
278 B
Go
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,
|
|
}
|
|
}
|