Update v1.0.6.4
This commit is contained in:
@@ -513,4 +513,16 @@ class SettingsController extends Controller
|
||||
|
||||
return redirect()->back()->with('success', 'Successfully Deleted');
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate Api key.
|
||||
*
|
||||
* @return type json
|
||||
*/
|
||||
public function generateApiKey()
|
||||
{
|
||||
$key = str_random(32);
|
||||
|
||||
return $key;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user