fix: misc bugfixes.

This commit is contained in:
Qiu Jian
2019-06-27 16:36:22 +08:00
parent 84eb86a757
commit aabdb3fa97
24 changed files with 307 additions and 67 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ type SSQLDriver struct {
driver.SBaseIdentityDriver
}
func NewSQLDriver(idpId, idpName, template string, conf api.TIdentityProviderConfigs) (driver.IIdentityBackend, error) {
base, err := driver.NewBaseIdentityDriver(idpId, idpName, template, conf)
func NewSQLDriver(idpId, idpName, template, targetDomainId string, autoCreateProject bool, conf api.TIdentityProviderConfigs) (driver.IIdentityBackend, error) {
base, err := driver.NewBaseIdentityDriver(idpId, idpName, template, targetDomainId, autoCreateProject, conf)
if err != nil {
return nil, err
}