mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
all auth provider should work via /auth/
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
a5af15b278
commit
0071c81699
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ export const getMe = async () => {
|
|||
}
|
||||
|
||||
export const postEmailLogin = async (email: string, password: string) => {
|
||||
const response = await fetch(getBackendUrl() + "/login", {
|
||||
const response = await fetch(getBackendUrl() + "/auth/email", {
|
||||
method: 'POST',
|
||||
mode: 'cors',
|
||||
cache: 'no-cache',
|
||||
|
|
Loading…
Reference in a new issue