Skip to content

Commit 06b3149

Browse files
committed
resolve merge conflicts
2 parents afc2424 + 3f63d3e commit 06b3149

File tree

6 files changed

+34
-11
lines changed

6 files changed

+34
-11
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -912,13 +912,16 @@ laravel-auth
912912

913913
### Opening an Issue
914914
Before opening an issue there are a couple of considerations:
915-
* Read the instructions and make sure all steps were followed correctly.
916-
* Check that the issue is not specific to your development environment setup.
917-
* Provide duplication steps.
918-
* Attempt to look into the issue, and if you have a solution, make a pull request.
919-
* Show that you have made an attempt to look into the issue.
920-
* Check to see if the issue you are reporting is a duplicate of a previous reported issue.
921-
* If you did not star this repo I will close your issue immediatly without consideration. My time is valuable.
915+
* If you did not **star this repo** *I will close your issue immediatly without consideration.* **My time is valuable**.
916+
* **Read the instructions** and make sure all steps were *followed correctly*.
917+
* **Check** that the issue is not *specific to your development environment* setup.
918+
* **Provide** *duplication steps*.
919+
* **Attempt to look into the issue**, and if you *have a solution, make a pull request*.
920+
* **Show that you have made an attempt** to *look into the issue*.
921+
* **Check** to see if the issue you are *reporting is a duplicate* of a previous reported issue.
922+
* **Following these instructions show me that you have tried.**
923+
* If you have a questions send me an email to [email protected]
924+
* Please be considerate that this is an open source project that I provide to the community for FREE when openeing an issue.
922925

923926
Open source projects are a the community’s responsibility to use, contribute, and debug.
924927

app/Http/Controllers/Auth/ActivateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function activationRequired()
123123

124124
$data = [
125125
'email' => $user->email,
126-
'date' => $lastActivation->created_at->format('m/d/Y'), //
126+
'date' => $lastActivation ? $lastActivation->created_at->format('m/d/Y') : null, //
127127
];
128128

129129
return view($this->getActivationView())->with($data);

app/Traits/CaptchaTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function captchaCheck()
1111
{
1212
$response = Input::get('g-recaptcha-response');
1313
$remoteip = $_SERVER['REMOTE_ADDR'];
14-
$secret = env('RE_CAP_SECRET');
14+
$secret = config('settings.reCaptchSecret');
1515

1616
$recaptcha = new ReCaptcha($secret);
1717
$resp = $recaptcha->verify($response, $remoteip);

config/settings.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
*/
3333
'restoreUserCutoff' => env('USER_RESTORE_CUTOFF_DAYS', 31),
3434

35+
/*
36+
* User list pagination size
37+
*/
38+
'userListPaginationSize' => env('USER_LIST_PAGINATION_SIZE', 50),
39+
3540
/*
3641
* User restore encryption key
3742
*/
@@ -42,9 +47,24 @@
4247
*/
4348
'reCaptchStatus' => env('ENABLE_RECAPTCHA', false),
4449

50+
/*
51+
* ReCaptcha Site Key
52+
*/
53+
'reCaptchSite' => env('RE_CAP_SITE', 'YOURGOOGLECAPTCHAsitekeyHERE'),
54+
55+
/*
56+
* ReCaptcha Secret
57+
*/
58+
'reCaptchSecret' => env('RE_CAP_SECRET', 'YOURGOOGLECAPTCHAsecretHERE'),
59+
4560
/*
4661
* Google Maps API V3 Status
4762
*/
4863
'googleMapsAPIStatus' => env('GOOGLEMAPS_API_STATUS', false),
4964

65+
/*
66+
* Google Maps API Key
67+
*/
68+
'googleMapsAPIKey' => env('GOOGLEMAPS_API_KEY', 'YOURGOOGLEMAPSkeyHERE'),
69+
5070
];

resources/views/auth/register.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
@if(config('settings.reCaptchStatus'))
9494
<div class="form-group">
9595
<div class="col-sm-6 col-sm-offset-4">
96-
<div class="g-recaptcha" data-sitekey="{{ env('RE_CAP_SITE') }}"></div>
96+
<div class="g-recaptcha" data-sitekey="{{ config('settings.reCaptchSite') }}"></div>
9797
</div>
9898
</div>
9999
@endif

resources/views/layouts/app.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<script src="{{ mix('/js/app.js') }}"></script>
7979

8080
@if(config('settings.googleMapsAPIStatus'))
81-
{!! HTML::script('//maps.googleapis.com/maps/api/js?key='.env("GOOGLEMAPS_API_KEY").'&libraries=places&dummy=.js', array('type' => 'text/javascript')) !!}
81+
{!! HTML::script('//maps.googleapis.com/maps/api/js?key='.config("settings.googleMapsAPIKey").'&libraries=places&dummy=.js', array('type' => 'text/javascript')) !!}
8282
@endif
8383

8484
@yield('footer_scripts')

0 commit comments

Comments
 (0)