BUG register API

This commit is contained in:
NekoVari 2023-09-24 18:35:25 +07:00
parent 54caf6d3ef
commit eb55b258d9
2 changed files with 29 additions and 5 deletions

View file

@ -45,7 +45,7 @@ export default {
},
methods: {
login() {
if (this.input.username !== '' || this.input.password !== '') {
if (this.input.username !== '' && this.input.password !== '') {
console.log('Authenticated: Checking with Backend');
} else {
console.log('Username and Password cannot be empty');