# Copyright (c) 2025, JINGROW
# For license information, please see license.txt

import jingrow


def execute():
	jingrow.db.set_value(
		"Account Request",
		{
			"request_key_expiration_time": ("is", "not set"),
			"request_key": ["is", "set"],
		},
		{
			"request_key_expiration_time": jingrow.utils.add_to_date(None, minutes=10),
		},
		update_modified=False,
	)
