by axew3 » Tue Nov 24, 2020 8:20 pm
The assertion above, is as follow explained (because again, not totally true).
if an user change his email in phpBB, then logout before to visit the WordPress side, so his email is not updated in WordPress also, and come into wordpress side to login
then what happen is the follow:
if the login done via email, since no corresponding email will be found in wordpress, the message will be this:
Unknown email address. Check again or try your username.
then if the login done via username, it depend, there are two possibilities
if the used username is the same in WordPress and phpBB or not:
1) if the username in wordpress is the same as it is in phpBB, then the user using the username to login in wp side will be ok, and his email in wp updated to the same as it is in phpBB, at same time.
2) if the
username in wordpress do not match the same in phpBB, then this user will not have possibility to login wordpress and if necessary will not be able to unlock his account.
using the username that do not match, the user login simply is nullified, without returning any error, but will be added.
If using email, the message will be instead:
Sorry, that username already exists!
ERROR: try to reload page, but if the error persist may mean that the forum's logged in username contains illegal characters that are not allowed on this system. Please contact an administrator.
that's hard to explain why, but let me resume that it is perfectly congruent (you can argue why) and it is the expected result (as code is).
Resuming it is important to fix in mind that, the integration can work fine in any scenario,
if usernames in phpBB are the same as they are in wordpress.
Or it will be mandatory to AVOID USER'S EMAIL CHANGE ON PHPBB PROFILES, to avoid problems for those users with mismatching usernames between phpBB and wordpress, where phpBB email updates allowed in phpBB.
Last consideration if that if an user login in phpBB, then come into wordpress, but his id result to be on the antibruteforce list due to detected bruteforce attack, will be logged out and required to login in wordpress side to unlock the account
The assertion above, is as follow explained (because again, not totally true).
[b]if an user change his email in phpBB, then logout before to visit the WordPress side, so his email is not updated in WordPress also, and come into wordpress side to login[/b]
then what happen is the follow:
if the login done via email, since no corresponding email will be found in wordpress, the message will be this:
[quote]Unknown email address. Check again or try your username.[/quote]
then if the login done via username, it depend, there are two possibilities
[b]if the used username is the same in WordPress and phpBB or not[/b]:
1) if the username in wordpress is the same as it is in phpBB, then the user using the username to login in wp side will be ok, and his email in wp updated to the same as it is in phpBB, at same time.
2) if the [b]username in wordpress do not match the same in phpBB, then this user will not have possibility to login wordpress and if necessary will not be able to unlock his account.[/b]
using the username that do not match, the user login simply is nullified, without returning any error, but will be added.
If using email, the message will be instead:
[quote]Sorry, that username already exists!
ERROR: try to reload page, but if the error persist may mean that the forum's logged in username contains illegal characters that are not allowed on this system. Please contact an administrator.[/quote]
that's hard to explain why, but let me resume that it is perfectly congruent (you can argue why) and it is the expected result (as code is).
Resuming it is important to fix in mind that, the integration can work fine in any scenario, [b]if usernames in phpBB are the same as they are in wordpress[/b].
Or it will be mandatory to AVOID USER'S EMAIL CHANGE ON PHPBB PROFILES, to avoid problems for those users with mismatching usernames between phpBB and wordpress, where phpBB email updates allowed in phpBB.
Last consideration if that if an user login in phpBB, then come into wordpress, but his id result to be on the antibruteforce list due to detected bruteforce attack, will be logged out and required to login in wordpress side to unlock the account