Changeset 1316 for trunk/src/org/expeditee/auth/Actions.java
- Timestamp:
- 04/16/19 10:41:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/auth/Actions.java
r1314 r1316 111 111 */ 112 112 public static void ToggleBay() throws KeyStoreException, FileNotFoundException, NoSuchAlgorithmException, CertificateException, ClassNotFoundException, SQLException, IOException, ParseException { 113 if (!AuthenticatorBrowser.isAuthenticated()) return; 113 114 if (!DisplayController.isMailMode()) { 114 115 MailBay.ensureLink(); … … 160 161 Map<AuthenticationTag, String> userData = userdata.get(); 161 162 162 // A profile already existing with 'username' means an account cannot be created with that username. 163 if (FrameIO. LoadProfile(userData.get(AuthenticationTag.Username)) != null) {163 // A profile already existing with 'username' means an account cannot be created with that username. 164 if (FrameIO.getProfilesList().contains(userData.get(AuthenticationTag.Username))) { 164 165 MessageBay.errorMessage(Constants.ERROR_PROFILE_NAME_PREEXISTS); 165 166 return;
Note:
See TracChangeset
for help on using the changeset viewer.