Patch for the demo

This commit is contained in:
Mathieu Lagace
2019-08-23 15:41:43 -04:00
parent bfdfcb87cf
commit db63c4ea4d
10 changed files with 504 additions and 181 deletions

View File

@@ -42,7 +42,7 @@ class CreateUsersTable extends Migration
$table->string('user_see')->default('unknown');
$table->string('user_edit')->default('unknown');
$table->string('user_notify')->default('unknown');
$table->string('api_token', 60)->unique()->default(str_random(60));
$table->string('api_token', 60)->unique()->default(str_shuffle(str_random(60)));
$table->rememberToken();
$table->timestamps();
});