mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Update constants defintions in Captcha class
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
2017-12-29 DariusIII
|
||||
* Chg: Update constants defintions in Captcha class
|
||||
2017-12-28 DariusIII
|
||||
* Chg: Update populate_rt_indexes.php
|
||||
* Chg: Remove unused DnzbFailures class use statements
|
||||
|
||||
+8
-8
@@ -48,22 +48,22 @@ class Captcha
|
||||
/**
|
||||
* $_POST key for the user-supplied ReCaptcha response.
|
||||
*/
|
||||
const RECAPTCHA_POSTKEY = 'g-recaptcha-response';
|
||||
private const RECAPTCHA_POSTKEY = 'g-recaptcha-response';
|
||||
|
||||
/**
|
||||
* Error key literals.
|
||||
*/
|
||||
const RECAPTCHA_ERROR_MISSING_SECRET = 'missing-input-secret';
|
||||
const RECAPTCHA_ERROR_INVALID_SECRET = 'invalid-input-secret';
|
||||
const RECAPTCHA_ERROR_MISSING_RESPONSE = 'missing-input-response';
|
||||
const RECAPTCHA_ERROR_INVALID_RESPONSE = 'invalid-input-response';
|
||||
private const RECAPTCHA_ERROR_MISSING_SECRET = 'missing-input-secret';
|
||||
private const RECAPTCHA_ERROR_INVALID_SECRET = 'invalid-input-secret';
|
||||
private const RECAPTCHA_ERROR_MISSING_RESPONSE = 'missing-input-response';
|
||||
private const RECAPTCHA_ERROR_INVALID_RESPONSE = 'invalid-input-response';
|
||||
|
||||
/**
|
||||
* Settings key literals.
|
||||
*/
|
||||
const RECAPTCHA_SETTING_SITEKEY = 'APIs.recaptcha.sitekey';
|
||||
const RECAPTCHA_SETTING_SECRETKEY = 'APIs.recaptcha.secretkey';
|
||||
const RECAPTCHA_SETTING_ENABLED = 'APIs.recaptcha.enabled';
|
||||
public const RECAPTCHA_SETTING_SITEKEY = 'APIs.recaptcha.sitekey';
|
||||
public const RECAPTCHA_SETTING_SECRETKEY = 'APIs.recaptcha.secretkey';
|
||||
public const RECAPTCHA_SETTING_ENABLED = 'APIs.recaptcha.enabled';
|
||||
|
||||
/**
|
||||
* Construct and decide whether to show the captcha or not.
|
||||
|
||||
Reference in New Issue
Block a user