Fix tokenistA DEPRECATED + fix webhook success

This commit is contained in:
osaajani 2025-04-15 14:53:04 +02:00
parent 580d9595b3
commit 01f836108d
3 changed files with 3 additions and 2 deletions

View file

@ -139,7 +139,7 @@ namespace controllers\publics;
$Tokenista = new \Ingenerator\Tokenista(APP_SECRET);
if (!$Tokenista->isValid($token, ['id_user' => $id_user]))
if (!$Tokenista->validate($token, ['id_user' => $id_user]))
{
return $this->render('connect/reset-password-invalid');
}