|
@@ -1,7 +1,7 @@
|
1
|
1
|
<template>
|
2
|
2
|
<!-- eslint-disable max-len -->
|
3
|
3
|
<div class="login-page">
|
4
|
|
- <form id="signIn" method="POST">
|
|
4
|
+ <form id="signIn">
|
5
|
5
|
<div class="form">
|
6
|
6
|
<div>
|
7
|
7
|
<h4>Login</h4>
|
|
@@ -79,13 +79,14 @@ export default {
|
79
|
79
|
textErrors: 'Some error with the field',
|
80
|
80
|
text: '',
|
81
|
81
|
showPassword: false,
|
|
82
|
+ password: '',
|
82
|
83
|
};
|
83
|
84
|
},
|
84
|
85
|
methods: {
|
85
|
86
|
Login() {
|
86
|
87
|
console.log(this.username + this.password);
|
87
|
88
|
axios
|
88
|
|
- .post('http://localhost:57260/api/user', {
|
|
89
|
+ .post('http://localhost:57260/api/register/authenticate', {
|
89
|
90
|
username: this.username,
|
90
|
91
|
password: this.password,
|
91
|
92
|
})
|