Fix get secret code bug

This commit is contained in:
Anthony Wang 2022-05-23 20:36:03 -05:00
parent 1c73d74f75
commit f357f5af3d
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -2,4 +2,4 @@ def ldappass():
return open('/etc/ldappass', 'r').read().split()[0]
def code():
return open('/etc/ldappass', 'r').read().split()[1]
return open('/etc/ldappass', 'r').read().split()[1][:-1]