Fixed logic error.
This commit is contained in:
parent
dba01295c8
commit
f7c57d4a3b
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ returns
|
|||
end
|
||||
|
||||
# delete login caches
|
||||
if !self[:login]
|
||||
if self[:login]
|
||||
key = "#{self.class}::#{login}"
|
||||
Cache.delete(key)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue