mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
add first login logic
This commit is contained in:
@@ -20,12 +20,13 @@ class CreateUsersTable extends Migration
|
||||
$table->string('email')->unique();
|
||||
$table->string('password');
|
||||
$table->string('rank_id')->default(1);
|
||||
$table->string('adress')->default('unknown');
|
||||
$table->string('telephone')->default('unknown');
|
||||
$table->string('adress')->default('');
|
||||
$table->string('telephone')->default('');
|
||||
$table->string('age');
|
||||
$table->string('avatar')->default('1');
|
||||
$table->string('sexe');
|
||||
$table->string('job_id')->default(6);
|
||||
$table->boolean('use_default_psw')->default(true);
|
||||
$table->string('api_token', 60)->unique()->default(str_shuffle(str_random(60)));
|
||||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
|
||||
@@ -18,7 +18,7 @@ class UsersTableSeeder extends Seeder
|
||||
'email' => 'visiteur@exvps.ca',
|
||||
'password' => bcrypt('f329er8kl2jHJGHdEj12567'),
|
||||
'rank_id' => '1',
|
||||
'adress' => 'Inconnu',
|
||||
'adress' => '',
|
||||
'age' => '99',
|
||||
'avatar' => '3',
|
||||
'sexe' => 'm',
|
||||
@@ -31,7 +31,7 @@ class UsersTableSeeder extends Seeder
|
||||
'email' => 'admin@exvps.ca',
|
||||
'password' => bcrypt('SuperAdmin'),
|
||||
'rank_id' => '1',
|
||||
'adress' => 'Inconnu',
|
||||
'adress' => '',
|
||||
'age' => '99',
|
||||
'avatar' => '3',
|
||||
'sexe' => 'm',
|
||||
|
||||
Reference in New Issue
Block a user