all auth provider should work via /auth/

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2020-05-24 22:12:18 +02:00 committed by mrdrogdrog
parent a5af15b278
commit 0071c81699

View file

@ -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',