mirror of
https://github.com/sismics/docs.git
synced 2024-11-10 16:53:23 +01:00
Closes #112: Don't update auth token on each request
This commit is contained in:
parent
79ca54c5af
commit
afc22a547e
@ -43,5 +43,4 @@ public class HeaderBasedSecurityFilter extends SecurityFilter {
|
|||||||
}
|
}
|
||||||
return new UserDao().getActiveByUsername(username);
|
return new UserDao().getActiveByUsername(username);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -104,7 +104,6 @@ public class TokenBasedSecurityFilter extends SecurityFilter {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
authTokenDao.updateLastConnectionDate(authToken.getId());
|
|
||||||
return new UserDao().getById(authToken.getUserId());
|
return new UserDao().getById(authToken.getUserId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user