]> source.dussan.org Git - gitea.git/commit
Do not send activation email if manual confirm is set (#19119) (#19122)
authorzeripath <art27@cantab.net>
Sat, 19 Mar 2022 14:20:42 +0000 (14:20 +0000)
committerGitHub <noreply@github.com>
Sat, 19 Mar 2022 14:20:42 +0000 (14:20 +0000)
commit5bb0c92b6cb09945d9324dbaf286d2b1fb65dd58
tree2107a9c4f7272644b6dacff0dd7729e1ca5ade50
parentc1e6be47d79408948e1c235be882f1792230efa1
Do not send activation email if manual confirm is set (#19119) (#19122)

Backport #19119

If the mailer is configured then even if Manual confirm is set an activation email
is still being sent because `handleUserCreated` is not checking for this case.

Fix #17263

Signed-off-by: Andrew Thornton <art27@cantab.net>
routers/web/auth/auth.go
templates/user/auth/activate.tmpl