This commit is contained in:
Mirai Kumiko 2025-06-30 14:03:57 +02:00
parent fa350aa551
commit c531beadb7
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
11 changed files with 20 additions and 41 deletions

View file

@ -39,7 +39,7 @@ defmodule NullaWeb.AuthController do
|> put_flash(:error, "Registration is disabled.")
|> redirect(to: ~p"/")
else
domain = instance_settings.domain
domain = NullaWeb.Endpoint.host()
hashed_password = Argon2.hash_pwd_salt(password)
{publicKeyPem, privateKeyPem} = Nulla.KeyGen.gen()