Update user data when using authprovider with external login

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
dbj
Registered User
Posts: 18
Joined: Mon Oct 09, 2017 10:08 am

Update user data when using authprovider with external login

Post by dbj » Tue Jul 24, 2018 11:54 am

Hi,

I'm using a custom authprovider, which is working fine so far. It uses the user table of an existing CMS to log users in into phpBB. For the first-time login, I return LOGIN_SUCCESS_CREATE_PROFILE to create the phpBB user. But what when a user changes the password or e-mail address in the CMS? How is the change propagated to the phpBB user table? Should I write the changes directly into the phpbb_users table? Unfortunately, a status like LOGIN_SUCCESS_UPDATE_PROFILE does not exist.

Thanks for your input.

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: No registered users and 10 guests