Skip to content

Commit

Permalink
issue-28941 Minor refactoring to modify Improve password validation m… (
Browse files Browse the repository at this point in the history
#29696)

Initial message 

![Screenshot 2024-08-21 at 11 40
51 AM](https://github.com/user-attachments/assets/37da66c0-6b65-4b78-9df8-088b41e7c396)

Updated message 
<img width="847" alt="Screenshot 2024-08-21 at 9 32 13 PM"
src="https://github.com/user-attachments/assets/a31847f2-b7ca-4af6-8e79-2a7261b177f1">

---------

Co-authored-by: Neeha2383 <[email protected]>
Co-authored-by: erickgonzalez <[email protected]>
  • Loading branch information
3 people authored Aug 26, 2024
1 parent 3ecd733 commit 9b9d57b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public Map<String, Object> addUser(String userId, String firstName, String lastN
if (localTransaction) {
HibernateUtil.rollbackTransaction();
}
throw new DotDataException(LanguageUtil.get(uWebAPI.getLoggedInUser(request),"User-Info-Save-Failed : " + e.getMessage()),"User-Info-Save-Failed",e);
throw new DotDataException(LanguageUtil.get(uWebAPI.getLoggedInUser(request), e.getMessage()),"User-Info-Save-Failed",e);

}

Expand Down Expand Up @@ -312,7 +312,7 @@ public Map<String, Object> updateUser(String userId, String newUserID, String fi
} catch(DotDataException | DotStateException e) {
ActivityLogger.logInfo(getClass(), "Error Updating User", "Date: " + date + "; "+ "User:" + modUser.getUserId());
AdminLogger.log(getClass(), "Error Updating User", "Date: " + date + "; "+ "User:" + modUser.getUserId());
throw new DotDataException(LanguageUtil.get(uWebAPI.getLoggedInUser(request),"User-Info-Save-Failed " + e.getMessage()),"User-Info-Save-Failed",e);
throw new DotDataException(LanguageUtil.get(uWebAPI.getLoggedInUser(request), e.getMessage()),"User-Info-Save-Failed",e);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4739,7 +4739,7 @@ user-id=User ID
User-Info-Save-Failed=User Information Save Failed
User-Info-Save-First-Name-Failed=First Name not valid
User-Info-Save-Last-Name-Failed=Last Name not valid
User-Info-Save-Password-Failed=The password does not meet the system security requirements. It must contain at least 8 characters and no white spaces.
User-Info-Save-Password-Failed=Your password must be at least 8 characters long and include at least one special character from the list # % + : = ? @ It must not contain spaces.
User-Info-Save-Password-Recycle-Failed=The password has been already used lately and cannot be reused yet.
user-info-saved=User info saved
User-Info-Saved=User Information Saved
Expand Down

0 comments on commit 9b9d57b

Please sign in to comment.