forgejo/routers
Gergely Nagy 639dafabec
[GITEA] Allow changing the email address before activation
During registration, one may be required to give their email address, to
be verified and activated later. However, if one makes a mistake, a
typo, they may end up with an account that cannot be activated due to
having a wrong email address.

They can still log in, but not change the email address, thus, no way to
activate it without help from an administrator.

To remedy this issue, lets allow changing the email address for logged
in, but not activated users.

This fixes gitea#17785.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit aaaece28e4)
2023-12-18 16:39:21 +01:00
..
api [GITEA] Make HTTPS schema default for Swagger 2023-12-18 16:39:21 +01:00
common Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
install [GITEA] Add password length check on install page 2023-12-18 16:32:02 +01:00
private [CLI] implement forgejo-cli 2023-12-18 14:39:08 +01:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [GITEA] Allow changing the email address before activation 2023-12-18 16:39:21 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2023-12-18 15:10:54 +01:00