Update some code, add security txt file.

This commit is contained in:
James Cole
2018-03-28 19:37:59 +02:00
parent 720dcb0fe5
commit be5c44af61
34 changed files with 80 additions and 40 deletions

View File

@@ -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']);
}