diff --git a/Server/app/resources/authentication/AuthenticationController.jl b/Server/app/resources/authentication/AuthenticationController.jl index f2729bf..bd2f1a7 100644 --- a/Server/app/resources/authentication/AuthenticationController.jl +++ b/Server/app/resources/authentication/AuthenticationController.jl @@ -140,7 +140,6 @@ function register() password = data["password"] |> Users.hash_password, ) |> save! authenticate(user.id, GenieSession.session(params())) - assign_role(user, findone(Role, name = "free")) confirmation_code = randstring('0':'9', 5) user.confirmation_code = confirmation_code save(user) diff --git a/Server/app/svelte/src/auth/signup-component.svelte b/Server/app/svelte/src/auth/signup-component.svelte index dc496fc..7243389 100644 --- a/Server/app/svelte/src/auth/signup-component.svelte +++ b/Server/app/svelte/src/auth/signup-component.svelte @@ -109,7 +109,7 @@
- +