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

Fixes for login plugins #27

Merged
merged 2 commits into from
Apr 6, 2016
Merged

Conversation

dragos-dumi
Copy link

No description provided.

user_login_finalize($user);

// TODO Should finalize() be after user_login_finalize or before?!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, but let's try this and possibly note it in an issue to explore it moving fwd.

* @param array $configuration
* @return array|null
*/
public function getPlugins($configuration = array()){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this?

I wrote this for password policy and we didn't use it - https://github.com/d8-contrib-modules/password_policy/blob/master/src/PasswordConstraintPluginManager.php

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you actually use functions in the default plugin manager(e.g. getInstances) to retrieve the plugins

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using getPlugins to get the selected plugins and use them in buildForm. I had no other idea on how to do that. see #29 - maybe I should redo this pull req in other way. Thx

@nerdstein
Copy link

@dragos-dumi - I sent you an invite so you could join our collaboration group. Please accept it, so you can add issues, assign yourself issues, and it will be clear what you are working on for the other participants.

@nerdstein
Copy link

Merging.

@nerdstein nerdstein merged commit bc82fc0 into d8-contrib-modules:master Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants