Add new constant MDRequirementsSet::MAX_AGE_AFTER_USER_INVITE to

streamline max age of unvalidated accounts before automatic deletion
This commit is contained in:
Joshua Ramon Enslin 2021-07-27 16:37:46 +02:00
parent 1b1d2cb6eb
commit ce35fd35cd
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -11,6 +11,12 @@ declare(strict_types = 1);
*/
final class MDRequirementsSet {
// Newly created user account invites need to be accepted within
// the given timespan. If they are not, the account will be ignored
// and deleted.
// 60 * 60 * 24 * 6 = 518400. 6 days.
const MAX_AGE_AFTER_USER_INVITE = 518400;
// Object images need to be at least 500 px wide
const MIN_OBJECT_IMAGE_WIDTH = 540;
// Object images need to be at least 500 px wide