can not login for pending user - #877
This commit is contained in:
@@ -28,6 +28,9 @@ defmodule Mobilizon.Service.Auth.MobilizonAuthenticator do
|
||||
{:user, {:error, :user_not_found}} ->
|
||||
{:error, :user_not_found}
|
||||
|
||||
{:user, {:error, :user_pending}} ->
|
||||
{:error, :user_pending}
|
||||
|
||||
{:acceptable_password, false} ->
|
||||
{:error, :bad_password}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user