Append domain before send

This commit is contained in:
Aswin V 2022-02-24 13:34:55 +05:30
parent 57b8b8b82d
commit 0f06186989

View File

@ -28,7 +28,7 @@ export default function Login() {
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ email, id, audience, acsUrl, providerName, relayState }),
body: JSON.stringify({ email: `${email}@example.com`, id, audience, acsUrl, providerName, relayState }),
});
if (response.ok) {
const newHtml = await response.text();