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
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
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