[SECURITY][Register] New users should have their current browser language set as first language preference

This commit is contained in:
2022-01-04 23:13:41 +00:00
parent 3f8fab0021
commit 0d1ab2c9cf
3 changed files with 8 additions and 1 deletions

View File

@@ -235,6 +235,7 @@ abstract class Cache
/**
* Retrieve a list from the cache, with a different implementation
* for redis and others, trimming to $max_count if given
* TODO(hugo): $calculate = [] is the same as false miss
*
* @param callable(?CacheItem $item, bool &$save): (string|object|array<int,mixed>) $calculate
*/