mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 03:08:11 +00:00
Update some code, add security txt file.
This commit is contained in:
@@ -35,6 +35,7 @@ use phpseclib\Crypt\RSA;
|
||||
*/
|
||||
class InstallController extends Controller
|
||||
{
|
||||
/** @noinspection MagicMethodsValidityInspection */
|
||||
/**
|
||||
* InstallController constructor.
|
||||
*/
|
||||
@@ -66,7 +67,7 @@ class InstallController extends Controller
|
||||
Passport::keyPath('oauth-private.key'),
|
||||
];
|
||||
|
||||
if ((file_exists($publicKey) || file_exists($privateKey))) {
|
||||
if (file_exists($publicKey) || file_exists($privateKey)) {
|
||||
return response()->json(['OK']);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user