mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 08:56:48 +01:00
Fix minore
This commit is contained in:
parent
4ea7ef654f
commit
cb86de0302
@ -295,7 +295,7 @@ if (!function_exists('download')) {
|
||||
* @return bool
|
||||
*/
|
||||
function download($file, $filename = null)
|
||||
{
|
||||
{
|
||||
ob_get_clean();
|
||||
ob_end_clean();
|
||||
|
||||
|
@ -6,6 +6,7 @@ use API\Interfaces\CreateInterface;
|
||||
use API\Resource;
|
||||
use Auth;
|
||||
use Update;
|
||||
use API\Response;
|
||||
|
||||
class Login extends Resource implements CreateInterface
|
||||
{
|
||||
@ -30,7 +31,7 @@ class Login extends Resource implements CreateInterface
|
||||
$response['version'] = Update::getVersion();
|
||||
} else {
|
||||
$response = [
|
||||
'status' => API\Response::getStatus()['unauthorized']['code'],
|
||||
'status' => Response::getStatus()['unauthorized']['code'],
|
||||
];
|
||||
|
||||
// Se è in corso un brute-force, aggiunge il timeout
|
||||
|
Loading…
x
Reference in New Issue
Block a user