diff --git a/app/Models/User.php b/app/Models/User.php index b7255d721b86..9c0550d05ae1 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -496,6 +496,11 @@ class User extends Authenticatable public function eligibleForMigration() { + // Not ready to show to hosted users + if (Utils::isNinjaProd()) { + return false; + } + return is_null($this->public_id) || $this->public_id == 0; } } diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 595963dc9a9f..9abac0545db6 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -3270,7 +3270,9 @@ $LANG = array( 'long_press_multiselect' => 'Long-press Multiselect', 'migrate_to_next_version' => 'Migrate to the next version of Invoice Ninja', 'migrate_intro_text' => 'We\'ve been working on next version of Invoice Ninja. Click the button bellow to start the migration.', - 'start_the_migration' => 'Start the migration', + 'start_migration' => 'Start Migration', + 'auth' => 'Auth', + 'endpoint' => 'Endpont', 'migration' => 'Migration', 'welcome_to_the_new_version' => 'Welcome to the new version of Invoice Ninja', 'download_data' => 'Press button below to download the data.', diff --git a/resources/views/accounts/management.blade.php b/resources/views/accounts/management.blade.php index 7ccfd6852a9b..97e174501d49 100644 --- a/resources/views/accounts/management.blade.php +++ b/resources/views/accounts/management.blade.php @@ -244,17 +244,12 @@