Skip to content
Snippets Groups Projects
Commit 9aff2f53 authored by degygii's avatar degygii
Browse files

fixed login function of amivcore :o

parent 7f264595
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
// Important vars n' stuff
lib: {
//api_url: 'https://amiv-apidev.vsos.ethz.ch',
api_url: 'https://amiv-apidev.vsos.ethz.ch',
api_url: 'http://192.168.1.100',
spec_url: 'lib/amiv/spec.json',
//spec_url: 'https://nicco.io/amiv/docs/spec.json',
authenticated: false,
......@@ -237,7 +237,7 @@
path: '/sessions/',
method: 'POST',
data: JSON.stringify({
user: curUser.toLowerCase(),
username: curUser.toLowerCase(),
password: curPass
}),
headers: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment