mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -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) => {
|
export const postEmailLogin = async (email: string, password: string) => {
|
||||||
const response = await fetch(getBackendUrl() + "/login", {
|
const response = await fetch(getBackendUrl() + "/auth/email", {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
mode: 'cors',
|
mode: 'cors',
|
||||||
cache: 'no-cache',
|
cache: 'no-cache',
|
||||||
|
|
Loading…
Reference in a new issue