@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3// See T13225. Long ago, this upgraded session key storage from unhashed to
4// HMAC-SHA1 here. We later upgraded storage to HMAC-SHA256, so this is initial
5// upgrade is now fairly pointless. Dropping this migration entirely only logs
6// users out of installs that waited more than 5 years to upgrade, which seems
7// like a reasonable behavior.