Skip to content

Commit 7cd227a

Browse files
author
EL BADOURI Youssef
committed
login chages
1 parent 8eb66b7 commit 7cd227a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/pages/Login.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const Login = ({ setIsAuthenticated, setUser }) => {
137137

138138
const handleGitHubLogin = async () => {
139139
try {
140-
window.location.href = `${API}/auth/github`;
140+
window.location.href = `${API}:5000/auth/github`;
141141
} catch (error) {
142142
toast.error("Erreur GitHub OAuth", {
143143
position: "top-right",

0 commit comments

Comments
 (0)