server/users: track login time

This commit is contained in:
rr-
2016-04-03 15:12:15 +02:00
parent d44bcdf3da
commit baf9b1d31a
3 changed files with 10 additions and 3 deletions

View File

@ -66,7 +66,7 @@ class Api {
return new Promise((resolve, reject) => {
this.userName = userName;
this.userPassword = userPassword;
this.get('/user/' + userName)
this.get('/user/' + userName + '?bump-login=true')
.then(response => {
this.user = response.user;
resolve();