We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7f14a7 commit 0c1161eCopy full SHA for 0c1161e
src/models/persistent_session.rs
@@ -79,8 +79,6 @@ impl PersistentSession {
79
.filter(persistent_sessions::revoked.eq(false))
80
.filter(persistent_sessions::hashed_token.eq(hashed_token));
81
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?
84
conn.transaction(|| {
85
diesel::update(sessions.clone())
86
.set((
0 commit comments