Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mystique's avatar

Getting a users password when they reset it

Hi there,

I work at a university and we give our IT students accounts on a few IT platforms. I am building an app that manages student accounts on these platforms. I would like the password that the students use on my app to also be used on these platforms so they only have to use one password.

For example, we give our students a cPanel account. When I create the students account on my app it creates them a cPanel account and uses the same password I generate for my app for their cPanel account (I have done this part). However, if they forget their password on my app and reset it using the forgot password link I want to use the cPanel API to update their password on their Cpanel account.

How would I go about this?

0 likes
4 replies
mystique's avatar

That would be nice. Unfortunately, for reasons beyond my control, I need to force them to use their university email address to access my system.

mystique's avatar

Ah ok, I will have a read about it. I have never used socialite. Thanks for the suggestion.

Please or to participate in this conversation.