mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
Remove str() pour python2
This commit is contained in:
parent
539c2c7d23
commit
c1cda1857e
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class User(AbstractBaseUser):
|
|||
user_ldap.dialupAccess = str(self.has_access())
|
||||
user_ldap.home_directory = '/home/' + self.pseudo
|
||||
user_ldap.mail = self.email
|
||||
user_ldap.given_name = str(self.surname).lower() + '_' + str(self.name).lower()[:3]
|
||||
user_ldap.given_name = self.surname.lower() + '_' + self.name.lower()[:3]
|
||||
user_ldap.gid = LDAP['user_gid']
|
||||
user_ldap.user_password = self.password[:6] + self.password[7:]
|
||||
user_ldap.sambat_nt_password = self.pwd_ntlm.upper()
|
||||
|
|
Loading…
Reference in a new issue