Updated login
This commit is contained in:
parent
9f1ab53385
commit
9b85c8fdbd
|
@ -57,7 +57,7 @@ def create_email_account(username, password):
|
||||||
file.write(password)
|
file.write(password)
|
||||||
|
|
||||||
# Pass the file through a shell command
|
# Pass the file through a shell command
|
||||||
cmd = ["cat", "tmp/password.tmp", "|", "doas", "-u", "maddy", "maddy", "creds", "create", f"{username}@hectabit.org"]
|
cmd = ["cat", "tmp/password.tmp", "|", "maddy", "creds", "create", f"{username}@hectabit.org"]
|
||||||
|
|
||||||
# Run and determine the result of the shell command
|
# Run and determine the result of the shell command
|
||||||
result = subprocess.run(" ".join(cmd), shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
result = subprocess.run(" ".join(cmd), shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
|
|
Loading…
Reference in New Issue