Add new legacy password field
This commit is contained in:
parent
e74d9d1113
commit
2236f60cfa
3 changed files with 3 additions and 2 deletions
2
boot.php
2
boot.php
|
@ -45,7 +45,7 @@ define('FRIENDICA_PLATFORM', 'Friendica');
|
||||||
define('FRIENDICA_CODENAME', 'Asparagus');
|
define('FRIENDICA_CODENAME', 'Asparagus');
|
||||||
define('FRIENDICA_VERSION', '3.6-dev');
|
define('FRIENDICA_VERSION', '3.6-dev');
|
||||||
define('DFRN_PROTOCOL_VERSION', '2.23');
|
define('DFRN_PROTOCOL_VERSION', '2.23');
|
||||||
define('DB_UPDATE_VERSION', 1235);
|
define('DB_UPDATE_VERSION', 1236);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Constant with a HTML line break.
|
* @brief Constant with a HTML line break.
|
||||||
|
|
|
@ -1682,6 +1682,7 @@ function db_definition() {
|
||||||
"guid" => array("type" => "varchar(64)", "not null" => "1", "default" => ""),
|
"guid" => array("type" => "varchar(64)", "not null" => "1", "default" => ""),
|
||||||
"username" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
"username" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
||||||
"password" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
"password" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
||||||
|
"legacy_password" => array("type" => "tinyint(1)", "not null" => "1", "default" => "1"),
|
||||||
"nickname" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
"nickname" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
||||||
"email" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
"email" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
||||||
"openid" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
"openid" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('UPDATE_VERSION' , 1235);
|
define('UPDATE_VERSION' , 1236);
|
||||||
|
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\PConfig;
|
use Friendica\Core\PConfig;
|
||||||
|
|
Loading…
Reference in a new issue