Can laravel built in login/register system changed so any registered user able to add more users. Currently if user logged that user not able to go to register page.Any hint will be really appreciated.
Tried this in auth controller constructor
public function __construct()
{
$this->middleware($this->guestMiddleware(), ['except' => 'logout', 'getRegister', 'postRegister']);
}
'getRegister', 'postRegister' excluded from auth. But this is not the solution. Problem still exists.
Routes
// Authentication Routes...
$this->get('login', 'Auth\AuthController@showLoginForm');
$this->post('login', 'Auth\AuthController@login');
$this->get('logout', 'Auth\AuthController@logout');
// Registration Routes...
$this->get('register', 'Auth\AuthController@showRegistrationForm');
$this->post('register', 'Auth\AuthController@register');
// Password Reset Routes...
$this->get('password/reset/{token?}', 'Auth\PasswordController@showResetForm');
$this->post('password/email', 'Auth\PasswordController@sendResetLinkEmail');
$this->post('password/reset', 'Auth\PasswordController@reset');
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/291FURZ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire