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()
48
48
}
49
49
});
50
50
Fortify::registerView (function () {
51
- if (config ('quickstart.access.user.login ' )) {
51
+ if (config ('quickstart.access.user.login ' ) && config ( ' quickstart.access.user.registration ' ) ) {
52
52
return view ('auth.register ' );
53
53
} else {
54
- return ( abort (404 ) );
54
+ abort (404 );
55
55
}
56
56
});
57
57
Fortify::requestPasswordResetLinkView (function () {
Original file line number Diff line number Diff line change 9
9
@include (' includes.partials.lang' )
10
10
@include (' includes.partials.switch' )
11
11
</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 >
14
14
@include (' includes.partials.messages' )
15
15
<x-forms .post :action =" route('password.confirm')" >
16
16
<div class =" my-3" >
Original file line number Diff line number Diff line change 9
9
@include (' includes.partials.lang' )
10
10
@include (' includes.partials.switch' )
11
11
</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 >
14
14
@include (' includes.partials.messages' )
15
15
<x-forms .post :action =" route('password.email')" >
16
16
<div class =" my-2" >
Original file line number Diff line number Diff line change 36
36
</button >
37
37
<a href =" {{ route (' password.request' ) } }" >Forgot password?</a >
38
38
</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
42
44
</x-forms .post >
43
45
<div class =" divider my-6" >
44
46
<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 60
60
</button >
61
61
</div >
62
62
</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
66
68
<div class =" divider my-4" >
67
69
<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 >
68
70
</div >
You can’t perform that action at this time.
0 commit comments