Fixed logic error.

This commit is contained in:
Martin Edenhofer 2015-06-18 16:31:50 +02:00
parent dba01295c8
commit f7c57d4a3b

View file

@ -261,7 +261,7 @@ returns
end
# delete login caches
if !self[:login]
if self[:login]
key = "#{self.class}::#{login}"
Cache.delete(key)
end