Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MembersLogin delegate, for external log in #301

Merged
merged 5 commits into from
Oct 31, 2017
Merged

Conversation

nitriques
Copy link
Member

Usign a section that does not contains a password has been discussed in
issue #274, but the PR did not actually provide a way to let other
extension authenticate the user.

Only if the members section DOES BOT contains a password field, the new
MembersLogin will be called. By default, log in is refused and extension
must explicitly set the required parameters with good values for the
login to succeed.


Mostly check 99f24e8

The other are simple bug fixes and code format

If an account gets deleted, but user is still loggued in, this method
would crash because we are calling a function on null. This fix prevents
it.
Usign a section that does not contains a password has been discussed in
issue #274, but the PR did not actually provide a way to let other
extension authenticate the user.

Only if the members section DOES BOT contains a password field, the new
MembersLogin will be called. By default, log in is refused and extension
must explicitly set the required parameters with good values for the
login to succeed.
Calling isset on an always declared variable always yeilds true.
This is not what we want: we want to check if we have a value.
@nitriques
Copy link
Member Author

cc @jonmifsud

@nitriques nitriques merged commit a11b74f into integration Oct 31, 2017
@nitriques nitriques deleted the external-login branch October 31, 2017 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants