Support the ongoing development of Laravel.io →
Authentication Eloquent Views

Hello,

Im using Laravel 5.3

Id like to allow registrations just for users who are currently logged in. Its the internal application, so Id like in the future one "super user" who can create employees accounts.

make:auth allows creating account for everyone.

Thanks

Last updated 3 years ago.
0

I have alreary solved it by changing

public function __construct()
{
    $this->middleware('guest');
}

to

public function __construct()
{
    $this->middleware('auth');
}

in RegisterController.php

0

Sign in to participate in this thread!

Eventy

Your banner here too?

petrklika petrklika Joined 7 Oct 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.