Commit 7579e6e9 authored by Donal McMullan's avatar Donal McMullan
Browse files

Don't commit the user object after logout

parent c5be3f60
......@@ -303,6 +303,8 @@ class User {
foreach (array_keys($this->defaults) as $key) {
$this->set($key, $this->defaults[$key]);
}
// We don't want to commit the USER object after logout:
$this->changed = false;
}
/**
......
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