Browse Source

Merge pull request #4 from Ingomancer/master

Fixed missing assignment of ldapUserFullName
pull/7/head
alexattws 5 years ago committed by GitHub
parent
commit
2f4580e3d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gitea-group-sync.go

2
gitea-group-sync.go

@ -160,7 +160,7 @@ func mainJob() {
ldapUserFullName = "sn" //change to cn if you need it ldapUserFullName = "sn" //change to cn if you need it
log.Println("By default LDAP_USER_FULL_NAME = 'sn'") log.Println("By default LDAP_USER_FULL_NAME = 'sn'")
} else { } else {
ldapUserIdentityAttribute = os.Getenv("LDAP_USER_FULL_NAME") ldapUserFullName = os.Getenv("LDAP_USER_FULL_NAME")
} }


var l *ldap.Conn var l *ldap.Conn

Loading…
Cancel
Save