Browse Source

[Web] return idp instance after init

FreddleSpl0it 1 year ago
parent
commit
e1c3ad9fe8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      data/web/inc/functions.inc.php

+ 1 - 0
data/web/inc/functions.inc.php

@@ -2111,6 +2111,7 @@ function identity_provider($_action = null, $_data = null, $_extra = null) {
         return $iam_provider;
       } else {
         $iam_provider = identity_provider("init");
+        return $iam_provider;
       }
     break;
     case 'get':