Return tuple on SeAT activation failure

Addresses #844
This commit is contained in:
Adarnof authored and GitHub committed 2017-09-01 00:40:22 -04:00
1 parent e6532025f8
commit 8028660a8f
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ class SeatManager:
logger.info("Added SeAT user with username %s" % sanitized)
return sanitized, password
logger.info("Failed to add SeAT user with username %s" % sanitized)
return None
return None, None
@classmethod
def delete_user(cls, username):