BUG register API
This commit is contained in:
parent
54caf6d3ef
commit
eb55b258d9
2 changed files with 29 additions and 5 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue