formatting

This commit is contained in:
lain 2018-08-12 19:42:21 +02:00
parent ffd9ad1f0c
commit 8c0c930041
1 changed files with 4 additions and 3 deletions

View File

@ -134,7 +134,8 @@ def register_user(params) do
}
# no need to query DB if registration is open
token = unless @registrations_open || is_nil(tokenString) do
token =
unless @registrations_open || is_nil(tokenString) do
Repo.get_by(UserInviteToken, %{token: tokenString})
end