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
|
end
|
||||||
|
|
||||||
# delete login caches
|
# delete login caches
|
||||||
if !self[:login]
|
if self[:login]
|
||||||
key = "#{self.class}::#{login}"
|
key = "#{self.class}::#{login}"
|
||||||
Cache.delete(key)
|
Cache.delete(key)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue