Skip to content

Commit

Permalink
Update check for email username to verify it is something
Browse files Browse the repository at this point in the history
instead of requiring an email address since not all mail services use a full email address here.
  • Loading branch information
ChrisJohnNOAA authored Jul 19, 2024
1 parent f50ea54 commit 48a4759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WEB-INF/classes/gov/noaa/pfel/erddap/util/EDStatic.java
Original file line number Diff line number Diff line change
Expand Up @@ -1844,7 +1844,7 @@ public static int convertToPublicSourceUrlFromSlashPo(String tFrom) {
emailIsActive = //ie if actual emails will be sent
String2.isSomething(emailSmtpHost) &&
emailSmtpPort > 0 &&
String2.isEmailAddress(emailUserName) &&
String2.isSomething(emailUserName) &&
String2.isSomething(emailPassword) &&
String2.isEmailAddress(emailFromAddress);

Expand Down

0 comments on commit 48a4759

Please sign in to comment.