csmith1188 / formbar

Interactive Classroom Mangement Tool using Raspberry Pi, Python, and NeoPixels
5 stars 55 forks source link

Lists all users accounts #417

Closed Jlara2005 closed 1 year ago

Jlara2005 commented 1 year ago

fix #414 The if statements was only checking for the users that already sign into the formbar. so what causing the user not found error is when we try to change password or permissions of the not log in user. It can't find him. So I made a new user list that takes all users account from the databased. Change some of the if statements to check the name in the new user account. Change some of the function that uses the old user list and add in the new if statement for changing permissions for both old and new userlist so it will change the log in user right away instead of logging out and logging back in.