Tout d'abord je tiens à signaler que j'ai recherché sur le forum avant de poster cette question. Certaines questions semble identiques, ou bien trop vieille pour m'aider, mais je n'ai pas trouvé réponse à ma question. (ou alors mes mots clefs utilisés pour mes recherches n'étaient pas les bons

J'ai un site et un forum phpBB. Les utilisateurs s'enregistrent sur le site, et un utilisateur est automatiquement créé sur le forum via les fonctions de création d'un User.
Lorsque les utilisateurs se connectent sur le site, je les connectes en parallèle sur le forum. Ceci leur permet de ne pas entrer 2 fois leurs informations de connexion.
Tout ceci fonctionne très bien.
Mon soucis est, lorsqu'un utilisateur modifie son mot de passe depuis le site, j'aimerai modifier celui du forum également. J'ai trouvé quelques posts qui indiquaient tous la même méthode, à savoir passer par les containers pour accéder au passwords_manager permettant d'utiliser la méthode de hashage du mot de passe : viewtopic.php?p=1608003#p1608003
Cependant, les réponses datant de quelques années, l'utilisation des containers semble dépréciée aujourd'hui. J'obtiens les messages d'erreurs suivants :
Code : Tout sélectionner
Type: ErrorException; Message: The "passwords.manager" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop
using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Type: ErrorException; Message: The "passwords.driver.argon2i" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public,
or stop using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Type: ErrorException; Message: The "passwords.driver.argon2id" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public,
or stop using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Type: ErrorException; Message: The "passwords.driver.bcrypt" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, o
r stop using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Type: ErrorException; Message: The "passwords.driver.bcrypt_2y" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public
, or stop using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Type: ErrorException; Message: The "passwords.driver.bcrypt_wcf2" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service publ
ic, or stop using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Type: ErrorException; Message: The "passwords.driver.salted_md5" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service publi
c, or stop using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Type: ErrorException; Message: The "passwords.driver.phpass" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, o
r stop using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Type: ErrorException; Message: The "passwords.driver.convert_password" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service
public, or stop using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Type: ErrorException; Message: The "passwords.driver.sha1_smf" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public,
or stop using the container directly and use dependency injection instead.; File: [...]/forum/vendor/symfony/dependency-injection/Container.php; Line: 282;
Informations concernant mon système :
- PHP v7.5
- phpBB v3.3.10
Si vous avez des pistes, d'avance merci !
