Skip to content

Commit

Permalink
Trivial: mark Figlets CAPTCHA as deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Jan 9, 2025
1 parent a3300c5 commit 68a4fde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/vufind/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2432,7 +2432,8 @@ validateHierarchySequences = true
;[Captcha]
; Valid type values:
; - dumb (ask the user to reverse a random string; only recommended for testing)
; - figlet (generate a text-based message for the user to interpret)
; - figlet (generate a text-based message for the user to interpret; DEPRECATED --
; will be removed in release 11.0)
; - image (generate a local image for the user to interpret)
; - interval (allow an action after a specified time has elapsed from session start
; or previous action)
Expand Down
2 changes: 2 additions & 0 deletions module/VuFind/src/VuFind/Captcha/Figlet.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
* @author Mario Trojan <mario.trojan@uni-tuebingen.de>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link https://vufind.org/wiki/development Wiki
*
* @deprecated Will not be supported in future Laminas releases
*/
class Figlet extends LaminasBase
{
Expand Down
2 changes: 2 additions & 0 deletions module/VuFind/src/VuFind/Captcha/FigletFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
* @author Mario Trojan <mario.trojan@uni-tuebingen.de>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link https://vufind.org/wiki/development Wiki
*
* @deprecated Will not be supported in future Laminas releases
*/
class FigletFactory implements FactoryInterface
{
Expand Down

0 comments on commit 68a4fde

Please sign in to comment.