Update
This commit is contained in:
parent
fa350aa551
commit
c531beadb7
11 changed files with 20 additions and 41 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue