* [FIX] Related #640. Set required auth for addAccount action because the auth wasn't being triggered. Thanks to @cbrassel for the feedback.

This commit is contained in:
nuxsmin
2017-06-13 17:15:54 +02:00
parent abebb27a05
commit aa45446178
2 changed files with 3 additions and 2 deletions

View File

@@ -554,6 +554,7 @@ class SyspassApi extends ApiBase
*/
protected function passIsNeeded()
{
return $this->actionId === ActionsInterface::ACTION_ACC_VIEW_PASS;
return $this->actionId === ActionsInterface::ACTION_ACC_VIEW_PASS
|| $this->actionId === ActionsInterface::ACTION_ACC_NEW;
}
}

View File

@@ -407,7 +407,7 @@ class Util
*/
public static function getVersion($retBuild = false, $normalized = false)
{
$build = 17061301;
$build = 17061302;
$version = [2, 1, 11];
if ($normalized === true) {