-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
user_login_finalize($user); | ||
|
||
// TODO Should finalize() be after user_login_finalize or before?! |
There was a problem hiding this comment.
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()){ |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
@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. |
Merging. |
No description provided.