// NewChangePasswordManager return new change password manager.
NewChangePasswordManager return new change password manager.
// NewChangePasswordManager return new change password manager .
func NewChangePasswordManager(db database.MgoSession, ir service.InternalRegistry, apiCfg *config.Server) ChangePasswordManagerInterface {
	m := &ChangePasswordManager{
		ApiCfg:                  apiCfg,
		r:                       ir,
		userIdentityService:     service.NewUserIdentityService(db),
		identityProviderService: service.NewAppIdentityProviderService(),
	}
	return m
}
func NewChangePasswordManager ( db database . MgoSession , ir service . InternalRegistry , apiCfg * config . Server ) ChangePasswordManagerInterface { m := & ChangePasswordManager { ApiCfg : apiCfg , r : ir , userIdentityService : service . NewUserIdentityService ( db ) , identityProviderService : service . NewAppIdentityProviderService ( ) , } return m }
NewChangePasswordManager return new change password manager.
NewChangePasswordManager return new change password manager .