registrar usuario de tipo comprador, comente algunas cosas del codigo
This commit is contained in:
@@ -2,14 +2,15 @@
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Auth;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class ShopViewsController extends Controller
|
||||
{
|
||||
public function index() {
|
||||
// public function index() {
|
||||
|
||||
return view('frontend.registro-comercio.index');
|
||||
}
|
||||
// return view('frontend.registro-comercio.index');
|
||||
// }
|
||||
|
||||
/* Paso 1 - Elegir tipo de cuenta */
|
||||
public function account_type() {
|
||||
@@ -18,15 +19,18 @@ class ShopViewsController extends Controller
|
||||
}
|
||||
|
||||
/* Paso 2 - Registro de correo */
|
||||
public function register_email() {
|
||||
// public function register_email() {
|
||||
|
||||
return view('frontend.registro-comercio.views.register-email');
|
||||
}
|
||||
// return view('frontend.registro-comercio.views.register-email');
|
||||
// }
|
||||
|
||||
/* Paso 3 - Verificacion de correo */
|
||||
public function verification_email() {
|
||||
public function verification_email() {
|
||||
|
||||
$user = Auth::user(); // Obtener el usuario autenticado
|
||||
|
||||
return view('frontend.registro-comercio.views.email-verification')->with('user', $user);
|
||||
|
||||
return view('frontend.registro-comercio.views.email-verification');
|
||||
}
|
||||
|
||||
/* Paso 4 - Cuenta creada correctamente */
|
||||
|
||||
Reference in New Issue
Block a user