diff --git a/includes/class-freemius.php b/includes/class-freemius.php
index <HASH>..<HASH> 100755
--- a/includes/class-freemius.php
+++ b/includes/class-freemius.php
@@ -15113,9 +15113,12 @@
                 if ( ! $is_uninstall ) {

                     $fs_user = Freemius::_get_user_by_email( $email );

                     if ( is_object( $fs_user ) && ! $this->is_pending_activation() ) {

-                        return $this->install_with_current_user(

+                        return $this->install_with_user(

+                            $fs_user,

                             false,

                             $trial_plan_id,

+                            true,

+                            true,

                             $sites

                         );

                     }
[opt-in] [bug-fix] When the opt-in was called programmatically with an empty license key, the install was always with the current admin's user instead of taking the $email param into account and opting in with the selected user.