Fixed a few field entries (#116)
* Stopped inheritance errors popping up * Added fillable fields These would not save otherwise. * Added country fillable field Wouldn’t save when importing from phpvms classic. * Added more to classic importer Change arguments to ask in terminal Fixed table_prefix names in Importer.php Added the ability to import users from phpvms classic (tested on simpilot’s 5.5.x) and when importing, it will then reset the user’s password to a temporary hash and then email it to the user to then change when they first log in. * Changes to ImporterService
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use Log;
|
||||
use App\Facades\Utils;
|
||||
use App\Models\User;
|
||||
use App\Models\Rank;
|
||||
@@ -70,6 +71,8 @@ class UserService extends BaseService
|
||||
. UserState::label($user->state));
|
||||
|
||||
event(new UserStateChanged($user, $old_state));
|
||||
|
||||
return $user;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user