Fix adding a new user and don't allow to add non-local users

The user structure must provide the correct account source now.
This commit is contained in:
eikek
2021-09-07 21:59:38 +02:00
parent 8df235e9db
commit 736968b049
3 changed files with 10 additions and 4 deletions

View File

@ -85,6 +85,7 @@ getUser model =
, email = model.email
, state = state
, password = model.password
, source = "local"
}