Remove temporary microsoft login

This commit is contained in:
dvirlabs 2025-12-17 05:45:01 +02:00
parent 1d04352ed7
commit 70f8ce1a6b

View File

@ -36,12 +36,12 @@ function Login({ onSuccess, onSwitchToRegister }) {
}; };
const handleGoogleLogin = () => { const handleGoogleLogin = () => {
const apiBase = window.__ENV__?.API_BASE || "http://localhost:8001"; const apiBase = window.__ENV__?.API_BASE || "http://localhost:8000";
window.location.href = `${apiBase}/auth/google/login`; window.location.href = `${apiBase}/auth/google/login`;
}; };
const handleAzureLogin = () => { const handleAzureLogin = () => {
const apiBase = window.__ENV__?.API_BASE || "http://localhost:8001"; const apiBase = window.__ENV__?.API_BASE || "http://localhost:8000";
window.location.href = `${apiBase}/auth/azure/login`; window.location.href = `${apiBase}/auth/azure/login`;
}; };
@ -126,7 +126,7 @@ function Login({ onSuccess, onSwitchToRegister }) {
המשך עם Google המשך עם Google
</button> </button>
<button {/* <button
type="button" type="button"
onClick={handleAzureLogin} onClick={handleAzureLogin}
className="btn ghost full-width" className="btn ghost full-width"
@ -146,7 +146,7 @@ function Login({ onSuccess, onSwitchToRegister }) {
<path fill="#ffb900" d="M12 12h10v10H12z"/> <path fill="#ffb900" d="M12 12h10v10H12z"/>
</svg> </svg>
המשך עם Microsoft המשך עם Microsoft
</button> </button> */}
<div className="auth-footer"> <div className="auth-footer">
<p> <p>