fix: registration without email
Some checks failed
Build latest image / build-container (push) Has been cancelled

This commit is contained in:
2025-04-02 22:35:50 +02:00
parent 528b025e55
commit b7f792c6f9

View File

@@ -32,10 +32,16 @@
async function register() {
try {
let emailToSend = null;
if (email !== '') {
if (email.includes('@')) {
emailToSend = email;
}
}
response = (await RunnerService.runnerControllerPost({
firstname,
lastname,
email,
email: emailToSend,
group
})) as ResponseRunner;
showResult = true;