Skip to content

Commit

Permalink
Changed to <br> instead of \n for front end
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Aug 22, 2024
1 parent a84d069 commit d0242fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ func (v *Views) _userAddPost(c echo.Context) error {

message.Message = fmt.Sprintf("Successfully sent user email to: \"%s\"", email)
} else {
message.Message = fmt.Sprintf(`No mailer present\nPlease send the username and password to this email:
message.Message = fmt.Sprintf(`No mailer present<br>Please send the username and password to this email:
%s, username: %s, password: %s`, email, username, password)
message.Error = errors.New("no mailer present")
log.Printf("no Mailer present")
Expand Down

0 comments on commit d0242fe

Please sign in to comment.