correction divers pour le login
This commit is contained in:
@@ -74,7 +74,7 @@ class LoginController extends Controller
|
|||||||
$user = Utilisateur::create([
|
$user = Utilisateur::create([
|
||||||
'Pseudo' => $request->Pseudo,
|
'Pseudo' => $request->Pseudo,
|
||||||
'Email' => $request->Email,
|
'Email' => $request->Email,
|
||||||
'MotDePasse' => $request->MotDePasse,
|
'MotDePasse' => Hash::make($request->MotDePasse),
|
||||||
'ID_Role' => $roleUtilisateur->ID_Role,
|
'ID_Role' => $roleUtilisateur->ID_Role,
|
||||||
'Statut' => 'Actif',
|
'Statut' => 'Actif',
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -5,6 +5,15 @@ namespace App\Models;
|
|||||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||||
use Illuminate\Notifications\Notifiable;
|
use Illuminate\Notifications\Notifiable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @property int $ID_Utilisateur
|
||||||
|
* @property string $Email
|
||||||
|
* @property string $MotDePasse
|
||||||
|
* @property string $Pseudo
|
||||||
|
* @property string $Statut
|
||||||
|
* @property int $ID_Role
|
||||||
|
* @property \Illuminate\Support\Carbon $DateInscription
|
||||||
|
*/
|
||||||
class Utilisateur extends Authenticatable
|
class Utilisateur extends Authenticatable
|
||||||
{
|
{
|
||||||
use Notifiable;
|
use Notifiable;
|
||||||
|
|||||||
Reference in New Issue
Block a user