laravel / fortify

Backend controllers and scaffolding for Laravel authentication.

Home Page:https://laravel.com/docs/fortify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Home Route Issue

hexpit opened this issue · comments

My home route is being returned from a helper function. In RouteServiceProvide if I replace

public const HOME = '/';

with

public const HOME = homeRoute();

It gives me an error "Expression is not allowed as class constant value".

changing home route variable in fortify configuration couldn't help as helper libraries are not loaded before configuration. Can anyone please provide me a workaround?

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.