]> source.dussan.org Git - gitea.git/commit
Verify password for local-account activation (#13631)
author6543 <6543@obermui.de>
Sat, 28 Nov 2020 22:41:06 +0000 (23:41 +0100)
committerGitHub <noreply@github.com>
Sat, 28 Nov 2020 22:41:06 +0000 (17:41 -0500)
commit0f14f69e6070c9aca09f57c419e7d6007d0e520b
tree4bf05d1a4e98d6aabc1b36da644628954d0805da
parente82150d41b74304dc332fbd0c077ec99c72a5c76
Verify password for local-account activation (#13631)

* Verify passwords for activation

This is to prevent 3rd party activation

* Fix function comment

* only veify password on local-account aktivation

* fix lint

* Update templates/user/auth/activate.tmpl

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Andreas Shimokawa <shimokawa@fsfe.org>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
routers/user/auth.go
templates/user/auth/activate.tmpl