changeset 532:04a6bea229e4

Client: fix code comment for login. * Remove outdated comment that was leftover from the change done with revision 493:2ac37419f593.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 28 Aug 2018 13:46:47 +0200
parents 9c036b32c852
children 42a4e97f8d6b
files client/src/stores/user.js
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/stores/user.js	Tue Aug 28 12:53:56 2018 +0200
+++ b/client/src/stores/user.js	Tue Aug 28 13:46:47 2018 +0200
@@ -64,7 +64,6 @@
     login({ commit }, user) {
       // using POST is a bit more secure than GET
       return new Promise((resolve, reject) => {
-        // axios will add the application/x-www-form-urlencoded header this way
         HTTP.post("/login", user)
           .then(response => {
             commit("auth_success", response.data);