Changeset 416 in t29-www for lib


Ignore:
Timestamp:
May 23, 2013, 1:08:00 PM (11 years ago)
Author:
sven
Message:

Anmeldung/Startseite:

  • Anmeldebutton hübscher gestaltet
  • Bestätigungsmail und Spamschutz-Captcha deaktiviert und Möglichkeit zum späteren Aktivieren eingebaut
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/mail/mailer.php

    r414 r416  
    6161        // the small data holding architecture
    6262        public $_values;
    63         #private $default_values;
     63        // Security: Captcha checking not on $_values basis since that is regularily provided by
     64        // POST or REQUEST data which are directly given by user => spambots could disable captcha check
     65        public $enable_captcha_check = true;
    6466       
    6567        function __construct(Array $data=array()) {
     
    146148               
    147149                // show captcha validation, if neccessary
    148                 if(!$this->check_captcha()) {
     150                if($this->enable_captcha_check && !$this->check_captcha()) {
    149151                        return false;
    150152                }
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License