Skip to content

Commit 0c1161e

Browse files
committed
Clean up TODO.
1 parent c7f14a7 commit 0c1161e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/models/persistent_session.rs

-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ impl PersistentSession {
7979
.filter(persistent_sessions::revoked.eq(false))
8080
.filter(persistent_sessions::hashed_token.eq(hashed_token));
8181

82-
// TODO: Do we want to check if the user agent or IP address don't match? What about the
83-
// created_at/last_user_at times, do we want to expire the tokens?
8482
conn.transaction(|| {
8583
diesel::update(sessions.clone())
8684
.set((

0 commit comments

Comments
 (0)