コード例 #1
0
ファイル: otp.php プロジェクト: DarneoStudio/bitrix
 /**
  * Delete OTP record from DB
  *
  * @return $this
  */
 public function delete()
 {
     UserTable::delete($this->getUserId());
     return $this;
 }
コード例 #2
0
ファイル: user.php プロジェクト: DarneoStudio/bitrix
 /**
  * @param $userId
  * @return bool
  */
 public static function onUserDelete($userId)
 {
     \Bitrix\Security\Mfa\UserTable::delete($userId);
     return true;
 }