antoniop
committed
on 29 May 18
Don't cache invalid user ids, as they might become valid shortly after (e.g. during registration)