The current way of handling login seems broken. If I create a Login() object I have no way of knowing whether the login was successful or not.
How do we fix this so that it is dead simple?
I suggest helper method to the Login class. That way I can try logging in first and check if successful.
The current way of handling login seems broken. If I create a Login() object I have no way of knowing whether the login was successful or not.
How do we fix this so that it is dead simple?
I suggest helper method to the Login class. That way I can try logging in first and check if successful.