feat:implement login register blade
This commit is contained in:
@@ -9,11 +9,12 @@ class LoginController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
|
||||
return view('auth.login');
|
||||
|
||||
}
|
||||
|
||||
public function post()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ class RegisterController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
|
||||
return view('auth.register');
|
||||
}
|
||||
|
||||
public function post()
|
||||
|
||||
+4
-3
@@ -10,10 +10,11 @@ use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Foundation\Auth\User as Authenticated ;
|
||||
|
||||
/**
|
||||
* Class User
|
||||
*
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $first_name
|
||||
* @property string $last_name
|
||||
@@ -33,13 +34,13 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updatet_at
|
||||
* @property string $deleted_at
|
||||
*
|
||||
*
|
||||
* @property File|null $file
|
||||
* @property Collection|Comment[] $comments
|
||||
*
|
||||
* @package App\Models
|
||||
*/
|
||||
class User extends Model
|
||||
class User extends Authenticated
|
||||
{
|
||||
use SoftDeletes;
|
||||
protected $table = 'users';
|
||||
|
||||
Reference in New Issue
Block a user