Ignore:
Timestamp:
04/16/19 10:41:54 (5 years ago)
Author:
bln4
Message:

Fixed exceptions being thrown incorrectly in following situations:

Incorrect login
Existing account on account creation
ToggleBay action run but not logged in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/auth/account/Authenticate.java

    r1314 r1316  
    5959                        personalKey = AuthenticatorBrowser.getInstance().getSecretKey(username, password);
    6060                } catch (Exception e) {
     61                        return AuthenticationResult.ErrorLoginUsernamePasswordCombo;
     62                }
     63               
     64                if (personalKey == null) {
    6165                        return AuthenticationResult.ErrorLoginUsernamePasswordCombo;
    6266                }
Note: See TracChangeset for help on using the changeset viewer.