mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-20 23:36:50 +01:00
* [ADD] Added mime type file checking instead of extension. Thanks to @vmario89 for the feedback. Related #825
* [MOD] Improved exception handling in controllers Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -46,6 +46,10 @@ final class UserSettingsManagerController extends ControllerBase implements Exte
|
||||
*/
|
||||
protected $tabsHelper;
|
||||
|
||||
/**
|
||||
* @throws \DI\DependencyException
|
||||
* @throws \DI\NotFoundException
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
$this->getTabs();
|
||||
@@ -53,6 +57,9 @@ final class UserSettingsManagerController extends ControllerBase implements Exte
|
||||
|
||||
/**
|
||||
* Returns a tabbed grid with items
|
||||
*
|
||||
* @throws \DI\DependencyException
|
||||
* @throws \DI\NotFoundException
|
||||
*/
|
||||
protected function getTabs()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user