I'm having a trouble while implementing a log-in system in an interface I'm creating:
I want it to have two type of user: admin and user, so depending on what you choose you input your credentials and then if they're correct the system opens either the admin interface or the user interface.
My problem is that given the knowledge I have right now, I have to have a "mother window" while executing tkinter which is the first windows that opens when you run the program, in this case that mother window would be the log-in window, the thing is that if I close that log-in window once the user inputs his/her credentials, then the whole program doesn't work.
Is there a solution for this?
Frameas log-in form. If authentication succeeds, destroy the log-in frame and create anotherFramebased on the user type. All the frames are created inside the main window.