From 79e8ff605af524ec6f83c814e997a5baf2e69ce4 Mon Sep 17 00:00:00 2001 From: klawgulp-ship-it Date: Wed, 11 Mar 2026 00:42:03 -0500 Subject: [PATCH] feat: add OAuth-only self-registration setting --- ...000001_add_oauth_registration_settings.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 database/migrations/2024_01_01_000001_add_oauth_registration_settings.php diff --git a/database/migrations/2024_01_01_000001_add_oauth_registration_settings.php b/database/migrations/2024_01_01_000001_add_oauth_registration_settings.php new file mode 100644 index 000000000..e9415d852 --- /dev/null +++ b/database/migrations/2024_01_01_000001_add_oauth_registration_settings.php @@ -0,0 +1,22 @@ +boolean('is_oauth_registration_enabled')->default(false)->after('is_registration_enabled'); + }); + } + + public function down(): void + { + Schema::table('instance_settings', function (Blueprint $table) { + $table->dropColumn('is_oauth_registration_enabled'); + }); + } +};