diff --git a/src/web/server/maestro/add_maestro.php b/src/web/server/maestro/add_maestro.php index 45d3485..9acc898 100644 --- a/src/web/server/maestro/add_maestro.php +++ b/src/web/server/maestro/add_maestro.php @@ -91,7 +91,7 @@ function add_maestro($maestro_name, $password, $email, $account_type) { $query = " INSERT INTO maestro (Name, Password, Email, AccountType, ActivateStatus, AvailableActivateDateTime, PlayerCount, AcceptClausesDateTime, AllowEditEnterCode, MaestroTestID) - VALUES (?, PASSWORD(?), ?, ?, 1, '2022-07-31 23:59:59', 0, NOW(), 0, 0)"; + VALUES (?, PASSWORD(?), ?, ?, 1, DATE_ADD(NOW(), INTERVAL 2 WEEK), 0, NOW(), 0, 0)"; $stmt = $db_conn->prepare($query); $stmt->bind_param("sssi", $maestro_name, $password, $email, $account_type); $stmt->execute();