Skip to content
Snippets Groups Projects
Commit 62a79b4c authored by Richard Fernando Heise Ferreira's avatar Richard Fernando Heise Ferreira
Browse files

Ajeitando login

parent 5f1aa132
No related branches found
No related tags found
No related merge requests found
Pipeline #42703 failed
......@@ -65,6 +65,9 @@ function Login() {
const userLogin = async (event) => {
event.preventDefault();
await logIn(userEmail, userPassword)
.then((res) => {
console.log(res);
})
.catch((error) => {
console.log(error);
setErrorMessage(error['response']['data']['error']['message']);
......
......@@ -5,8 +5,8 @@ import {
//export const mecredURL = "http://localhost:4000";
//export const mecredURLv1 = "http://localhost:4000";
export const mecredURL = "http://mecred.mec.gov.br";
export const mecredURLv1 = "http://mecred.mec.gov.br";
export const mecredURL = "https://api.mecreddev.c3sl.ufpr.br";
export const mecredURLv1 = "https://api.mecreddev.c3sl.ufpr.br";
const govBrLogOutRedirectUrl = "https://mecred.mec.gov.br";
export const govBrLogOutURL = `https://sso.staging.acesso.gov.br/logout?post_logout_redirect_uri=${govBrLogOutRedirectUrl}`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment