Implement login endpoint
This commit is contained in:
parent
7c73c2c424
commit
5fe604c5a2
6 changed files with 148 additions and 21 deletions
|
@ -8,6 +8,7 @@ defmodule MatrixServerWeb.Plug.Error do
|
|||
invalid_username: {400, "M_INVALID_USERNAME", "Invalid username."},
|
||||
forbidden: {400, "M_FORBIDDEN", "The requested action is forbidden."},
|
||||
unrecognized: {400, "M_UNRECOGNIZED", "Unrecognized request."},
|
||||
unknown: {400, "M_UNKNOWN", "An unknown error occurred."},
|
||||
unknown_token: {401, "M_UNKNOWN_TOKEN", "Invalid access token."},
|
||||
missing_token: {401, "M_MISSING_TOKEN", "Access token required."}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue