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

This commit is contained in:
Philipp Dormann 2025-04-02 22:35:50 +02:00
parent 528b025e55
commit b7f792c6f9
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

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;