Commit 0da7ec6f authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Postgres connector fix: session_user -> session in get_session_or_new()

parent ad9faaf0
Pipeline #243 passed with stages
in 11 minutes and 11 seconds
......@@ -156,7 +156,7 @@ impl MedalConnection for Connection {
// TODO: Factor this out in own function
// TODO: Should a new session key be generated every time?
self.execute(
"UPDATE session_user SET session_token = $1 WHERE session_token = $2",
"UPDATE session SET session_token = $1 WHERE session_token = $2",
&[&Option::<String>::None, &key]).unwrap();
self.new_session(&key)
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment