Re-use validator from signup on invitation creation #108 (#111)

* fix: server side validation and client side validation for invitation creation

* fix: lint
This commit is contained in:
DecDuck
2025-06-08 11:59:00 +10:00
committed by GitHub
parent de438b93d5
commit 9f5a3b3976
3 changed files with 17 additions and 26 deletions

View File

@ -360,6 +360,9 @@
:loading="loading"
type="submit"
class="w-full sm:w-fit"
:disabled="
!(validUsername && validEmail && username && email)
"
>
{{ $t("users.admin.simple.inviteButton") }}
</LoadingButton>