forgejo/routers
Gergely Nagy d699c12ceb
[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)
(cherry picked from commit 639dafabec)
2023-12-25 13:41:50 +01:00
..
api [GITEA] Make HTTPS schema default for Swagger 2023-12-25 13:41:49 +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-25 13:30:06 +01:00
private [CLI] implement forgejo-cli 2023-12-25 10:25:16 +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-25 13:41:50 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2023-12-25 11:00:49 +01:00