Example #1
0
    def registerControl(self, name, phone, email, username, password):

        ac = AuthController()
        message = ac.register(name, phone, email, username, password,
                              'student')

        if message:
            messagebox.showinfo('Alert', message)
Example #2
0
    def registerControl(self, name, phone, email, username, password):
        ac = AuthController()
        status = ac.register(name, phone, email, username, password)

        if status['code']:
            messagebox.showinfo('Success', status['message'])
        else:
            messagebox.showerror('Error', status['message'])
Example #3
0
    def registerControl(self, name, phone, email, username, password):

        ac = AuthController()
        message = ac.register(name, phone, email, username, password)
        messagebox.showinfo('Message', message)