summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-04-08 18:04:23 -0300
committerCorey Hulen <corey@hulen.com>2016-04-08 14:04:23 -0700
commitdf77179eccffbb77f684abde45cac743f5d0b414 (patch)
tree524312a7033c11a4daeb9fa2b4aa2283765bdd9d /api
parent77ee1ce7fee698847e211dc15d4673300901aa48 (diff)
downloadchat-df77179eccffbb77f684abde45cac743f5d0b414.tar.gz
chat-df77179eccffbb77f684abde45cac743f5d0b414.tar.bz2
chat-df77179eccffbb77f684abde45cac743f5d0b414.zip
Fix email verification process (#2664)
- Fix email verification URL in login view - Fix URL in email being sent for verification - Add Email Verification on password reset - Fix display of email in reset password - Fix URL en team_signup_password_page - Fix typo in webapp en loc - Add missing es locs - Removed extra es, fr and pt locs
Diffstat (limited to 'api')
-rw-r--r--api/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go
index ab13cbb68..76eeaa441 100644
--- a/api/user.go
+++ b/api/user.go
@@ -1836,7 +1836,7 @@ func sendEmailChangeEmailAndForget(c *Context, oldEmail, newEmail, teamDisplayNa
func SendEmailChangeVerifyEmailAndForget(c *Context, userId, newUserEmail, teamName, teamDisplayName, siteURL, teamURL string) {
go func() {
- link := fmt.Sprintf("%s/verify_email?uid=%s&hid=%s&teamname=%s&email=%s", siteURL, userId, model.HashPassword(userId), teamName, newUserEmail)
+ link := fmt.Sprintf("%s/do_verify_email?uid=%s&hid=%s&teamname=%s&email=%s", siteURL, userId, model.HashPassword(userId), teamName, newUserEmail)
subjectPage := utils.NewHTMLTemplate("email_change_verify_subject", c.Locale)
subjectPage.Props["Subject"] = c.T("api.templates.email_change_verify_subject",