mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
Allow to use the legacy authentication API
This commit is contained in:
@@ -61,8 +61,8 @@ defmodule TeslaApi.Auth do
|
||||
|
||||
{:ok, %Tesla.Env{status: 401} = e} ->
|
||||
error = %Error{
|
||||
reason: :authentication_failure,
|
||||
message: "Failed to authenticate.",
|
||||
reason: :invalid_credentials,
|
||||
message: "Invalid email address and password combination",
|
||||
env: e
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user