新規登録できないバグその3

This commit is contained in:
suti7yk5032 2024-10-05 10:25:37 +09:00
parent ecfc39695a
commit a8bf3ab4b7

View file

@ -307,7 +307,7 @@ class Auth():
cursor.execute("SELECT pc_number FROM pc_list WHERE pc_number = %s", (pc_number,)) cursor.execute("SELECT pc_number FROM pc_list WHERE pc_number = %s", (pc_number,))
pc_record_number_source = cursor.fetchall() pc_record_number_source = cursor.fetchall()
if pc_record_number_source == None: if pc_record_number_source == []:
pc_token = self.token_generate(36) pc_token = self.token_generate(36)
master_password = self.master_password_generate(16) master_password = self.master_password_generate(16)
master_password_hash = self.hash_genarate(master_password) master_password_hash = self.hash_genarate(master_password)