Change to safer hash methods.

This commit is contained in:
James Cole
2020-04-11 06:42:21 +02:00
parent 91deb22a3f
commit 6829003f5e
8 changed files with 15 additions and 12 deletions

View File

@@ -26,7 +26,6 @@ use Cache;
use Exception;
use FireflyIII\Models\Preference;
use FireflyIII\User;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Support\Collection;
use Log;
use Session;
@@ -200,7 +199,7 @@ class Preferences
$lastActivity = implode(',', $lastActivity);
}
return md5($lastActivity);
return hash('sha256', $lastActivity);
}
/**