mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 09:12:14 +00:00
improved email setup
This commit is contained in:
4
resources/js/helpers/ValidatorHelpers.js
vendored
4
resources/js/helpers/ValidatorHelpers.js
vendored
@@ -21,8 +21,8 @@ const ValidatorHelpers = {
|
||||
return totalUniqueEmails.length >= limit.total && !totalUniqueEmails.includes(email)
|
||||
}
|
||||
|
||||
Vue.prototype.$isInvalidEmail = function (email) {
|
||||
return email.match(/^[^\s@]+@[^\s@]+\.[^\s@]+$/) === null
|
||||
Vue.prototype.$isValidEmail = function (email) {
|
||||
return email.match(/^[^\s@]+@[^\s@]+\.[^\s@]+$/) !== null
|
||||
}
|
||||
|
||||
Vue.prototype.$reCaptchaToken = async function (action) {
|
||||
|
||||
Reference in New Issue
Block a user