laravel / nova-issues

554 stars 35 forks source link

Can you add login settings to config #708

Closed janicerar closed 5 years ago

janicerar commented 5 years ago

Can you add this variables to config:

nova.login.allow-reset-password: bool (Laravel\Nova\Nova::$resetsPasswords) nova.login.allow-register: bool (Laravel\Nova\PendingRouteRegistration->registered)

Because we do not want users to be able to register to Admin Panel or be able to send rest password email from there.

AegirLeet commented 5 years ago

Nova doesn't provide a registration page, right? To disable password resets, can't you simply remove ->withPasswordResetRoutes() from your NovaServiceProvider?

janicerar commented 5 years ago

I work. Tnx.