|
@@ -105,7 +105,6 @@ func LoginViaLDAP(login, password string, source *LoginSource, autoRegister bool
|
|
|
Name: username,
|
|
|
FullName: composeFullName(fn, sn, username),
|
|
|
Email: mail,
|
|
|
- LoginType: source.Type,
|
|
|
LoginSource: source.ID,
|
|
|
LoginName: login,
|
|
|
IsActive: true,
|
|
@@ -245,7 +244,6 @@ func LoginViaSMTP(login, password string, sourceID int64, cfg *SMTPConfig, autoR
|
|
|
Name: strings.ToLower(username),
|
|
|
Email: login,
|
|
|
Passwd: password,
|
|
|
- LoginType: LoginSMTP,
|
|
|
LoginSource: sourceID,
|
|
|
LoginName: login,
|
|
|
IsActive: true,
|
|
@@ -281,7 +279,6 @@ func LoginViaPAM(login, password string, sourceID int64, cfg *PAMConfig, autoReg
|
|
|
Name: login,
|
|
|
Email: login,
|
|
|
Passwd: password,
|
|
|
- LoginType: LoginPAM,
|
|
|
LoginSource: sourceID,
|
|
|
LoginName: login,
|
|
|
IsActive: true,
|
|
@@ -317,7 +314,6 @@ func LoginViaGitHub(login, password string, sourceID int64, cfg *GitHubConfig, a
|
|
|
Email: email,
|
|
|
Website: url,
|
|
|
Passwd: password,
|
|
|
- LoginType: LoginGitHub,
|
|
|
LoginSource: sourceID,
|
|
|
LoginName: login,
|
|
|
IsActive: true,
|