Append domain before send
This commit is contained in:
parent
57b8b8b82d
commit
0f06186989
@ -28,7 +28,7 @@ export default function Login() {
|
|||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'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) {
|
if (response.ok) {
|
||||||
const newHtml = await response.text();
|
const newHtml = await response.text();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user