Skip to content

Commit

Permalink
fix for tinode#409 and probably for tinode#400
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Apr 5, 2020
1 parent 4bde839 commit a436900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/validate/email/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (v *validator) Init(jsonconf string) error {

// Optionally resolve paths against the location of this executable file.
v.ValidationTemplFile = resolveTemplatePath(v.ValidationTemplFile)
v.ResetTemplFile = resolveTemplatePath(v.ValidationTemplFile)
v.ResetTemplFile = resolveTemplatePath(v.ResetTemplFile)

// Paths to templates could be templates themselves: they may be language-dependent.
var validationPathTempl, resetPathTempl *textt.Template
Expand Down

0 comments on commit a436900

Please sign in to comment.