mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
* Closes #95. Accounts' password length set to 255 characters
This commit is contained in:
@@ -540,7 +540,7 @@ class SP_Account
|
||||
. "account_name = '" . DB::escape($this->accountName) . "',"
|
||||
. "account_login = '" . DB::escape($this->accountLogin) . "',"
|
||||
. "account_url = '" . DB::escape($this->accountUrl) . "',"
|
||||
. "account_pass = '$this->accountPass',"
|
||||
. "account_pass = '" . DB::escape($this->accountPass). "',"
|
||||
. "account_IV = '" . DB::escape($this->accountIV) . "',"
|
||||
. "account_notes = '" . DB::escape($this->accountNotes) . "',"
|
||||
. "account_dateAdd = NOW(),"
|
||||
|
||||
@@ -63,7 +63,7 @@ CREATE TABLE `accHistory` (
|
||||
`acchistory_categoryId` tinyint(3) unsigned NOT NULL,
|
||||
`acchistory_login` varchar(50) NOT NULL,
|
||||
`acchistory_url` varchar(255) DEFAULT NULL,
|
||||
`acchistory_pass` varbinary(32) NOT NULL,
|
||||
`acchistory_pass` varbinary(255) NOT NULL,
|
||||
`acchistory_IV` varbinary(32) NOT NULL,
|
||||
`acchistory_notes` text NOT NULL,
|
||||
`acchistory_countView` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
@@ -116,7 +116,7 @@ CREATE TABLE `accounts` (
|
||||
`account_categoryId` tinyint(3) unsigned NOT NULL,
|
||||
`account_login` VARCHAR(50) DEFAULT NULL,
|
||||
`account_url` varchar(255) DEFAULT NULL,
|
||||
`account_pass` varbinary(32) NOT NULL,
|
||||
`account_pass` varbinary(255) NOT NULL,
|
||||
`account_IV` varbinary(32) NOT NULL,
|
||||
`account_notes` text,
|
||||
`account_countView` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
|
||||
Reference in New Issue
Block a user