diff --git a/src/components/login/login.ts b/src/components/login/login.ts index 81b6a25..ef44887 100644 --- a/src/components/login/login.ts +++ b/src/components/login/login.ts @@ -61,6 +61,11 @@ export default class Login extends Vue */ loginClick() { + // Simple checks + if (this.username == '') + { + this.error = 'Username cannot be blank 🤔'; + } // Format it this.username = this.username.toLowerCase().replace(/ /g, '').replace(/@.*/g, '');