Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Improve email validation and copy #3743

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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