Skip to content

Commit cee656f

Browse files
kodehatDaneEveritt
authored andcommitted
Feature/PTDL-1030 (pterodactyl#1033)
* Swap reCAPTCHA secret key position with website key
1 parent 0c07577 commit cee656f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
1212
### Changed
1313
* Panel now throws proper 504: Gateway Timeout errors on server listing when daemon is offline.
1414
* Sessions handled through redis now use a seperate database (default `1`) to store session database to avoid logging users out when flushing the cache.
15+
* reCAPTCHA's secret key position swapped with website key in advanced panel settings to be consistent with Google's reCAPTCHA dashboard.
1516

1617
## v0.7.5 (Derelict Dermodactylus)
1718
### Fixed

resources/themes/pterodactyl/admin/settings/advanced.blade.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
</div>
3636
</div>
3737
<div class="form-group col-md-4">
38-
<label class="control-label">Secret Key</label>
38+
<label class="control-label">Site Key</label>
3939
<div>
40-
<input type="text" required class="form-control" name="recaptcha:secret_key" value="{{ old('recaptcha:secret_key', config('recaptcha.secret_key')) }}">
41-
<p class="text-muted small">Used for communication between your site and Google. Be sure to keep it a secret.</p>
40+
<input type="text" required class="form-control" name="recaptcha:website_key" value="{{ old('recaptcha:website_key', config('recaptcha.website_key')) }}">
4241
</div>
4342
</div>
4443
<div class="form-group col-md-4">
45-
<label class="control-label">Website Key</label>
44+
<label class="control-label">Secret Key</label>
4645
<div>
47-
<input type="text" required class="form-control" name="recaptcha:website_key" value="{{ old('recaptcha:website_key', config('recaptcha.website_key')) }}">
46+
<input type="text" required class="form-control" name="recaptcha:secret_key" value="{{ old('recaptcha:secret_key', config('recaptcha.secret_key')) }}">
47+
<p class="text-muted small">Used for communication between your site and Google. Be sure to keep it a secret.</p>
4848
</div>
4949
</div>
5050
</div>

0 commit comments

Comments
 (0)