Skip to content

v12.20.0

@browner12 browner12 tagged this 25 Jun 09:23
* remove the "prefix" option for cache password resets

this is mostly a rollback of #53448 per Taylor's request. rather than allowing an optional prefix, we'll use a deterministic hash of the user's email for our cache key.  this should make the chance of a collision if no dedicated store is used statistically insignificant.

I've also opted to extract out a `makeCacheKey()` method here mainly to reduce the duplicated code and help prevent bugs from divergence. however, this could possibly help userland override the cache key generation. maybe I'm overthinking that, maybe it's honestly not a problem.

* formatting

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
Assets 2
Loading