引継ぎコード追加

This commit is contained in:
2023-07-13 12:37:36 +09:00
parent 4130e71756
commit c451fff119
3 changed files with 15 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@ $user = new User;
$user -> name = $_GET['name'];
$user -> pass = implode (
array_map (fn () => $chars[rand (0, strlen ($chars) - 1)], range (1, 8)));
$user -> inheritance_code = implode (array_map (fn () => rand (0, 9), range (1, 12)));
echo [$user -> insert () -> id];