Fixed wrong setItem params (#2381)

This commit is contained in:
tebe 2019-02-25 20:19:42 +01:00 committed by Isiah Meadows
parent 9550730e99
commit 8e7f85f389

View file

@ -584,7 +584,7 @@ var Auth = {
url: "/api/v1/auth",
data: {username: Auth.username, password: Auth.password}
}).then(function(data) {
localStorage.setItem("auth-token": data.token)
localStorage.setItem("auth-token", data.token)
m.route.set("/secret")
})
}