Add new constant MDRequirementsSet::MAX_AGE_AFTER_USER_INVITE to

streamline max age of unvalidated accounts before automatic deletion
This commit is contained in:
jrenslin committed 2021-07-27 16:37:46 +02:00
1 parent 1b1d2cb6eb
commit ce35fd35cd
1 file changed
+6
+6
View File
@@ -11,6 +11,12 @@
*/
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