File tree Expand file tree Collapse file tree 5 files changed +16
-12
lines changed
Expand file tree Collapse file tree 5 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ public function boot()
4848 }
4949 });
5050 Fortify::registerView (function () {
51- if (config ('quickstart.access.user.login ' )) {
51+ if (config ('quickstart.access.user.login ' ) && config ( ' quickstart.access.user.registration ' ) ) {
5252 return view ('auth.register ' );
5353 } else {
54- return ( abort (404 ) );
54+ abort (404 );
5555 }
5656 });
5757 Fortify::requestPasswordResetLinkView (function () {
Original file line number Diff line number Diff line change 99 @include (' includes.partials.lang' )
1010 @include (' includes.partials.switch' )
1111 </div >
12- <h1 class =" font-bold text-2xl my-3" >{{ __ (' headings.confirm-password' ) } } </h1 >
13- <p >{{ __ (' You need to confirm your password to complete this action.' ) } } </p >
12+ <h1 class =" font-bold text-2xl my-3 dark:text-white " >{{ __ (' headings.confirm-password' ) } } </h1 >
13+ <p class = " dark:text-white " >{{ __ (' You need to confirm your password to complete this action.' ) } } </p >
1414 @include (' includes.partials.messages' )
1515 <x-forms .post :action =" route('password.confirm')" >
1616 <div class =" my-3" >
Original file line number Diff line number Diff line change 99 @include (' includes.partials.lang' )
1010 @include (' includes.partials.switch' )
1111 </div >
12- <h1 class =" font-bold text-2xl my-3" >{{ __ (' headings.password-reset' ) } } </h1 >
13- <p >{{ __ (' Reset your forgotten password' ) } } </p >
12+ <h1 class =" font-bold text-2xl my-3 dark:text-white " >{{ __ (' headings.password-reset' ) } } </h1 >
13+ <p class = " dark:text-white " >{{ __ (' Reset your forgotten password' ) } } </p >
1414 @include (' includes.partials.messages' )
1515 <x-forms .post :action =" route('password.email')" >
1616 <div class =" my-2" >
Original file line number Diff line number Diff line change 3636 </button >
3737 <a href =" {{ route (' password.request' ) } }" >Forgot password?</a >
3838 </div >
39- <div >
40- <p >Don't have an account yet? <a href =" {{ route (' register' ) } }" class =" font-bold" >Register Now</a ></p >
41- </div >
39+ @if (config (' quickstart.access.user.registration' ) )
40+ <div >
41+ <p >Don't have an account yet? <a href =" {{ route (' register' ) } }" class =" font-bold" >Register Now</a ></p >
42+ </div >
43+ @endif
4244 </x-forms .post >
4345 <div class =" divider my-6" >
4446 <span class =" px-2 py-1 rounded-xl bg-gray-800 dark:bg-gray-200 text-gray-200 dark:text-gray-800" >or use social login</span >
Original file line number Diff line number Diff line change 6060 </button >
6161 </div >
6262 </x-forms .post >
63- <div >
64- <p >Already have an account? <a href =" {{ route (' login' ) } }" class =" font-bold" >Login Now</a ></p >
65- </div >
63+ @if (config (' quickstart.access.user.login' ) )
64+ <div >
65+ <p >Already have an account? <a href =" {{ route (' login' ) } }" class =" font-bold" >Login Now</a ></p >
66+ </div >
67+ @endif
6668 <div class =" divider my-4" >
6769 <span class =" px-2 py-1 rounded-xl bg-gray-800 dark:bg-gray-200 text-gray-200 dark:text-gray-800" >or use social login</span >
6870 </div >
You can’t perform that action at this time.
0 commit comments