mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-19 21:03:54 -07:00
Increased USEREMAIL_MAX_LENGTH
(#1566)
* Minor improvements * Update CHANGELOG.md
This commit is contained in:
parent
31c901fabd
commit
c215d8fb31
4 changed files with 3 additions and 6 deletions
|
@ -8,6 +8,7 @@
|
||||||
- Release 2.4.5 🦕 ([belomaxorka](https://github.com/belomaxorka))
|
- Release 2.4.5 🦕 ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Added some new HTML meta-tags [\#1562](https://github.com/torrentpier/torrentpier/pull/1562) ([belomaxorka](https://github.com/belomaxorka))
|
- Added some new HTML meta-tags [\#1562](https://github.com/torrentpier/torrentpier/pull/1562) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Fixed `md5()` deprecated in PHP 8.4 [\#1561](https://github.com/torrentpier/torrentpier/pull/1561) ([belomaxorka](https://github.com/belomaxorka))
|
- Fixed `md5()` deprecated in PHP 8.4 [\#1561](https://github.com/torrentpier/torrentpier/pull/1561) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
|
- Increased `USEREMAIL_MAX_LENGTH` [\#1566](https://github.com/torrentpier/torrentpier/pull/1566) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
|
|
||||||
## [v2.4.4](https://github.com/torrentpier/torrentpier/tree/v2.4.4) (2024-07-22)
|
## [v2.4.4](https://github.com/torrentpier/torrentpier/tree/v2.4.4) (2024-07-22)
|
||||||
[Full Changelog](https://github.com/torrentpier/torrentpier/compare/v2.4.3...v2.4.4)
|
[Full Changelog](https://github.com/torrentpier/torrentpier/compare/v2.4.3...v2.4.4)
|
||||||
|
|
|
@ -90,10 +90,6 @@ You must provide write permissions to the specified folders:
|
||||||
The specific settings depend on the server you are using, but in general case we recommend chmod **0755** for folders,
|
The specific settings depend on the server you are using, but in general case we recommend chmod **0755** for folders,
|
||||||
and chmod **0644** for files in them. If you are not sure, leave it as is.
|
and chmod **0644** for files in them. If you are not sure, leave it as is.
|
||||||
|
|
||||||
## 🔐 Security
|
|
||||||
|
|
||||||
If you discover any security related issues, please email [admin@torrentpier.com](mailto:admin@torrentpier.com) or [roman25052006.kelesh@gmail.com](mailto:roman25052006.kelesh@gmail.com) instead of using the issue tracker.
|
|
||||||
|
|
||||||
## 📌 Our recommendations
|
## 📌 Our recommendations
|
||||||
|
|
||||||
* *The recommended way to run cron.php.* - For significant tracker speed increase may be required to replace built-in cron.php by operating system daemon.
|
* *The recommended way to run cron.php.* - For significant tracker speed increase may be required to replace built-in cron.php by operating system daemon.
|
||||||
|
|
|
@ -172,7 +172,7 @@ function utime()
|
||||||
return array_sum(explode(' ', microtime()));
|
return array_sum(explode(' ', microtime()));
|
||||||
}
|
}
|
||||||
|
|
||||||
function bb_log($msg, $file_name, $return_path = false)
|
function bb_log($msg, $file_name = 'logs.log', $return_path = false)
|
||||||
{
|
{
|
||||||
if (is_array($msg)) {
|
if (is_array($msg)) {
|
||||||
$msg = implode(LOG_LF, $msg);
|
$msg = implode(LOG_LF, $msg);
|
||||||
|
|
|
@ -282,7 +282,7 @@ define('SID_LENGTH', 20);
|
||||||
define('LOGIN_KEY_LENGTH', 32);
|
define('LOGIN_KEY_LENGTH', 32);
|
||||||
define('USERNAME_MIN_LENGTH', 3);
|
define('USERNAME_MIN_LENGTH', 3);
|
||||||
define('USERNAME_MAX_LENGTH', 30);
|
define('USERNAME_MAX_LENGTH', 30);
|
||||||
define('USEREMAIL_MAX_LENGTH', 80);
|
define('USEREMAIL_MAX_LENGTH', 230);
|
||||||
define('PASSWORD_MIN_LENGTH', 8);
|
define('PASSWORD_MIN_LENGTH', 8);
|
||||||
define('PASSWORD_MAX_LENGTH', 128);
|
define('PASSWORD_MAX_LENGTH', 128);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue