Changeset 1102 in t29-www


Ignore:
Timestamp:
Jan 18, 2017, 9:28:48 PM (7 years ago)
Author:
sven
Message:

Kleiner Bugfix beim Passwortzaun (Parametername aus Zaunname bestimmen).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/simplepassword.php

    r1100 r1102  
    2727class t29FencedContent {
    2828        public $password;
    29         public $paramkey = 't29-pwd-barrier';
    30         public $id; // used in form #id
     29        public $id; // used in form #id and in paramkey
     30        public $paramkey; // computed from $id
    3131
    3232        function __construct($id, $password=Null) {
    3333                $this->id = $id;
    3434                $this->password = $password;
     35                $this->paramkey = "pwd-fence-$id";
    3536        }
    3637
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