Static helper for installation type

This commit is contained in:
David Bomba 2019-06-04 08:07:57 +10:00
parent e458ec6331
commit 4dcb047c05
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class TokenAuth
{ {
auth()->login($user); auth()->login($user);
event();
} }
else { else {

View File

@ -133,7 +133,6 @@ class CreateUsersTable extends Migration
$table->unsignedInteger('industry_id')->nullable(); $table->unsignedInteger('industry_id')->nullable();
$table->string('ip'); $table->string('ip');
$table->string('company_key',100)->unique(); $table->string('company_key',100)->unique();
$table->timestamp('last_login')->nullable();
$table->string('address1')->nullable(); $table->string('address1')->nullable();
$table->string('address2')->nullable(); $table->string('address2')->nullable();
$table->string('city')->nullable(); $table->string('city')->nullable();
@ -226,6 +225,7 @@ class CreateUsersTable extends Migration
$table->unsignedInteger('avatar_width')->nullable(); $table->unsignedInteger('avatar_width')->nullable();
$table->unsignedInteger('avatar_height')->nullable(); $table->unsignedInteger('avatar_height')->nullable();
$table->unsignedInteger('avatar_size')->nullable(); $table->unsignedInteger('avatar_size')->nullable();
$table->timestamp('last_login')->nullable();
$table->text('signature'); $table->text('signature');
$table->string('password'); $table->string('password');
$table->rememberToken(); $table->rememberToken();