Skip to content

Commit

Permalink
Merge branch 'release/1.2.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
adufr committed Mar 13, 2020
2 parents fdcbe3f + 1b176e1 commit 71d344e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "calendz-front",
"version": "1.2.8",
"version": "1.2.9",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/veeCustom/customValidators.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Validator } from 'vee-validate'

Validator.extend('email_valid_school', {
validate: value => value.includes('@epsi.fr') || value.includes('@wis.fr') || value.includes('@etudes-wis.net')
validate: value => value.includes('@epsi.fr') || value.includes('@wis.fr') || value.includes('@ecoles-wis.net' || value.includes('@ecoles-wis.net'))
})

Validator.extend('contains_one_number', {
Expand Down
2 changes: 1 addition & 1 deletion src/views/Pages/Auth/Register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export default {
},
guessSchoolFromEmail (email) {
if (email.includes('@epsi.fr')) return 'EPSI'
if (email.includes('@wis.fr') || email.includes('@etudes-wis.net')) return 'WIS'
if (email.includes('@wis.fr') || email.includes('@ecoles-wis.net')) return 'WIS'
},
showAlert (title) {
swal({
Expand Down
2 changes: 1 addition & 1 deletion src/views/Pages/Dashboard/Admin/UserManagement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ export default {
},
guessSchoolFromEmail (email) {
if (email.includes('@epsi.fr')) return 'EPSI'
if (email.includes('@wis.fr') || email.includes('@etudes-wis.net')) return 'WIS'
if (email.includes('@wis.fr') || email.includes('@ecoles-wis.net')) return 'WIS'
}
}
}
Expand Down

0 comments on commit 71d344e

Please sign in to comment.