Skip to content

Commit

Permalink
Fix: Improve email validation and copy (#3743)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikehrn authored Dec 23, 2024
1 parent baea53e commit 71e92ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
Changing a user's role may add a seat to your current billing cycle.
</p>
<p>
Released seats will be adjusted at the start of your next billing cycle:
Unused seats will be adjusted at the start of your next billing cycle:
<br />
{{ nextBillingCycleEnd }}
</p>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-components/src/helpers/common/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { GenericValidateFunction } from 'vee-validate'
import { isNullOrUndefined } from '@speckle/shared'

export const VALID_HTTP_URL = /^https?:\/\//
export const VALID_EMAIL = /^[\w-_.+]+@[\w-_.+]+$/
export const VALID_EMAIL = /^[^\s@]+@[^\s@]+\.[^\s@]+$/

/**
* Note about new validators:
Expand Down

0 comments on commit 71e92ea

Please sign in to comment.