Update user data when using authprovider with external login

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

Update user data when using authprovider with external login

Post by dbj »

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”