Last change
on this file since bd46dbb was 3f5bf9e, checked in by Vzdra <vladko.zdravkovski@…>, 4 years ago |
added test login
|
-
Property mode
set to
100644
|
File size:
283 bytes
|
Rev | Line | |
---|
[3f5bf9e] | 1 | import axios from '../custom_axios/axios';
|
---|
| 2 |
|
---|
| 3 | const UserLogin = {
|
---|
| 4 | login: (username, password, type) => {
|
---|
| 5 | return axios.post("/login", {
|
---|
| 6 | "account": username,
|
---|
| 7 | "password": password,
|
---|
| 8 | "type": type
|
---|
| 9 | });
|
---|
| 10 | }
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | export default UserLogin; |
---|
Note:
See
TracBrowser
for help on using the repository browser.