Skip to content
Snippets Groups Projects
Commit 183d3057 authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Check email limit

parent 8bf7b206
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,10 @@ export default {
if (!this.user.email || !this.user.email.includes('@') || !this.user.email.includes('.')) {
this.errors.email = "Specify a valid email address";
}
else if (this.user.email.endsWith('@liu.se'))
{
this.errors.email = "LiU users should use their LiU-ID to sign in";
}
var username = this.user.username || (this.user.name && this.username_placeholder);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment