Ver Mensaje Individual
  #15 (permalink)  
Antiguo 25/06/2013, 06:05
Avatar de Fylux
Fylux
 
Fecha de Ingreso: junio-2012
Mensajes: 141
Antigüedad: 12 años, 8 meses
Puntos: 9
Respuesta: Dos dudas de Laravel

Eso lo he cambiado para poner
'Model'=>'Usuario'
'table'=>'usuarios'

Pero lo que tu dices está en Laravel 3, pero no en el 4.

Código PHP:
<?php

return array(

    
/*
    |--------------------------------------------------------------------------
    | Default Authentication Driver
    |--------------------------------------------------------------------------
    |
    | This option controls the authentication driver that will be utilized.
    | This drivers manages the retrieval and authentication of the users
    | attempting to get access to protected areas of your application.
    |
    | Supported: "database", "eloquent"
    |
    */

    
'driver' => 'eloquent',

    
/*
    |--------------------------------------------------------------------------
    | Authentication Model
    |--------------------------------------------------------------------------
    |
    | When using the "Eloquent" authentication driver, we need to know which
    | Eloquent model should be used to retrieve your users. Of course, it
    | is often just the "User" model but you may use whatever you like.
    |
    */

    
'model' => 'Usuario',

    
/*
    |--------------------------------------------------------------------------
    | Authentication Table
    |--------------------------------------------------------------------------
    |
    | When using the "Database" authentication driver, we need to know which
    | table should be used to retrieve your users. We have chosen a basic
    | default value but you may easily change it to any table you like.
    |
    */

    
'table' => 'usuarios',

    
/*
    |--------------------------------------------------------------------------
    | Password Reminder Settings
    |--------------------------------------------------------------------------
    |
    | Here you may set the settings for password reminders, including a view
    | that should be used as your password reminder e-mail. You will also
    | be able to set the name of the table that holds the reset tokens.
    |
    */

    
'reminder' => array(

        
'email' => 'emails.auth.reminder''table' => 'password_reminders',

    ),

);
Saludos.
__________________
Si todos escribiéramos sin faltas de ortografía, el mundo sería un lugar mejor.