forgejo/models
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
..
actions [GITEA] allow viewing the latest Action Run on the web 2023-12-18 16:39:21 +01:00
activities
admin
asymkey [GITEA] Add noreply email address as verified for SSH signed Git commits 2023-12-18 16:39:20 +01:00
auth [GITEA] Drop sha256-simd in favor of stdlib 2023-12-18 16:39:19 +01:00
avatars
db
dbfs
fixtures [GITEA] Add noreply email address as verified for SSH signed Git commits 2023-12-18 16:39:20 +01:00
forgejo/semver
forgejo_migrations
git
issues
migrations [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2023-12-18 16:39:20 +01:00
organization
packages
perm
project
pull [GITEA] GetScheduledMergeByPullID may involve a system user 2023-12-18 16:39:21 +01:00
repo [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2023-12-18 16:39:20 +01:00
secret
shared/types
system
unit
unittest [GITEA] Enable mocked HTTP responses for GitLab migration test 2023-12-18 16:39:20 +01:00
user [GITEA] Allow changing the email address before activation 2023-12-18 16:39:21 +01:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go