Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Overwrite or new plugin

Started by Muut Archive 11 years ago · 2 replies · 532 views
11 years ago

I have extended the default login plugin to include LDAP support for authorization via Active Directory.

However If ever I update the plugin, my code will be gone. Ideally, i should make a new plugin that overrides the other, but I'm not sure how to do it to ensure future compatibility.

is there a 'correct' way to override the functions of one plugin with another?

11 years ago

If you feel that this is something that could be 'added' to the current login plugin, perhaps you could add support to the regular plugin with some configuration options to enable/configure it.

Just submit a pull request on that project in Github.

11 years ago

That's probably the best idea. I'll clean up the code and make a request.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago