mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 02:54:35 -04:00
Static helper for installation type
This commit is contained in:
parent
e458ec6331
commit
4dcb047c05
@ -31,7 +31,7 @@ class TokenAuth
|
|||||||
{
|
{
|
||||||
|
|
||||||
auth()->login($user);
|
auth()->login($user);
|
||||||
|
event();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user