Skip to content

Commit

Permalink
Merge pull request #174 from ERDDAP/emailLogin
Browse files Browse the repository at this point in the history
Update check for email username to verify it is something
  • Loading branch information
ChrisJohnNOAA authored Jul 19, 2024
2 parents 32a3a15 + 48a4759 commit 0159315
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 0159315

Please sign in to comment.