mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-24 00:28:18 +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,
|
|
}
|
|
}
|