| Conditions | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # coding=utf-8 |
||
| 10 | def __plugin_load__(): |
||
| 11 | # noinspection PyGlobalUndefined |
||
| 12 | global __plugin_implementation__ |
||
| 13 | __plugin_implementation__ = AuthLDAPPlugin() |
||
| 14 | |||
| 15 | # noinspection PyGlobalUndefined |
||
| 16 | global __plugin_hooks__ |
||
| 17 | __plugin_hooks__ = { |
||
| 18 | "octoprint.access.users.factory": __plugin_implementation__.ldap_user_factory, |
||
| 19 | "octoprint.plugin.softwareupdate.check_config": __plugin_implementation__.check_config |
||
| 20 | } |
||
| 21 |