mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-05 08:04:09 +01:00
* [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:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user