mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Working on tests
This commit is contained in:
parent
e4b07f0862
commit
c469dc6fcb
@ -120,7 +120,7 @@ class AuthController extends Controller
|
||||
if (! Utils::isNinja() && ! User::count()) {
|
||||
return redirect()->to('/setup');
|
||||
}
|
||||
|
||||
/*
|
||||
if (Utils::isNinja()) {
|
||||
// make sure the user is on SITE_URL/login to ensure OAuth works
|
||||
$requestURL = request()->url();
|
||||
@ -130,7 +130,7 @@ class AuthController extends Controller
|
||||
return redirect()->to($loginURL);
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
return self::getLogin();
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ class AddCustomContactFields extends Migration
|
||||
$table->string('custom_value1')->nullable();
|
||||
$table->string('custom_value2')->nullable();
|
||||
});
|
||||
/*
|
||||
|
||||
Schema::table('payment_methods', function ($table) {
|
||||
$table->unsignedInteger('account_gateway_token_id')->nullable()->change();
|
||||
$table->dropForeign('payment_methods_account_gateway_token_id_foreign');
|
||||
@ -38,7 +38,6 @@ class AddCustomContactFields extends Migration
|
||||
Schema::table('payments', function ($table) {
|
||||
$table->foreign('payment_method_id')->references('id')->on('payment_methods')->onDelete('cascade');
|
||||
});
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user