fix: remove duplicate check

This commit is contained in:
Derrick Hammer 2024-02-13 20:01:45 -05:00
parent 8423578bdd
commit 171b810504
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 5 deletions

View File

@ -408,11 +408,6 @@ func (h *HttpHandler) accountRegister(jc jape.Context) {
_, err = rand.Read(passwd)
if accountExists {
errored(errGeneratingPassword)
return
}
newAccount, err := h.accounts.CreateAccount(request.Email, string(passwd))
if err != nil {
errored(errAccountRegisterErr)