We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 086e725 commit 2038dc8Copy full SHA for 2038dc8
boot.php
@@ -5,9 +5,11 @@
5
* @psalm-scope-this rex_addon
6
*/
7
8
-rex_ycom_auth::addInjection(new rex_ycom_injection_otp(), 1);
9
-rex_ycom_auth::addInjection(new rex_ycom_injection_passwordchange(), 4);
10
-rex_ycom_auth::addInjection(new rex_ycom_injection_termsofuse(), 8);
+if (rex_plugin::get('ycom', 'auth')->isAvailable()) {
+ rex_ycom_auth::addInjection(new rex_ycom_injection_otp(), 1);
+ rex_ycom_auth::addInjection(new rex_ycom_injection_passwordchange(), 4);
11
+ rex_ycom_auth::addInjection(new rex_ycom_injection_termsofuse(), 8);
12
+}
13
14
if (rex::isBackend()) {
15
rex_extension::register('PACKAGES_INCLUDED', static function ($params) {
0 commit comments