* Closes #95. Accounts' password length set to 255 characters

This commit is contained in:
nuxsmin
2015-03-04 21:39:44 +01:00
parent c85fd84370
commit d99abcaefc
2 changed files with 3 additions and 3 deletions

View File

@@ -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(),"

View File

@@ -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',