Skip to content

Commit

Permalink
fix(settings): remove excessive email validation in user settings (#4469
Browse files Browse the repository at this point in the history
)

* fix(settings): remove exessive email validation in user settings

* fix(settings): better wording
  • Loading branch information
MaxPostema authored Nov 11, 2024
1 parent 22358fa commit 80c4d0d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions apps/settings/src/components/Members.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,20 @@
<h5 class="card-title">Manage members</h5>
<p>Use table below to add, edit or remove members</p>
<form v-if="canEdit" class="form-inline">
<InputEmail
<InputString
id="member-email"
class="mb-2 mr-2 mr-sm-4 email-input"
v-model="editMember['email']"
placeholder="email address"
placeholder="email or username"
label="Email:"
:additionalValidValidationStrings="['user', 'anonymous']"
>
<template v-slot:prepend>
<Info class="mr-1">
Enter valid user email address or use the specials group: 'user'
or 'anonymous'
</Info>
</template>
</InputEmail>
</InputString>
<InputSelect
id="member-role"
class="mb-2 mr-sm-4"
Expand Down Expand Up @@ -69,7 +68,6 @@ import {
InputFile,
InputSelect,
InputString,
InputEmail,
LayoutCard,
MessageError,
MessageSuccess,
Expand All @@ -90,7 +88,6 @@ export default {
Info,
InputCheckbox,
InputString,
InputEmail,
InputSelect,
},
props: {
Expand Down

0 comments on commit 80c4d0d

Please sign in to comment.