Revision 1378
Added by Dietmar over 13 years ago
SecureForm.php | ||
---|---|---|
17 | 17 |
* @description |
18 | 18 |
*/ |
19 | 19 |
|
20 |
/** |
|
21 |
* Description of class |
|
22 |
* |
|
23 |
* @author wkl |
|
24 |
*/ |
|
25 | 20 |
class SecureForm { |
26 | 21 |
|
22 |
const FRONTEND = 0; |
|
23 |
const BACKEND = 1; |
|
24 |
|
|
27 | 25 |
private $_FTAN = ''; |
28 | 26 |
private $_IDKEYs = array('0'=>'0'); |
29 | 27 |
private $_ftan_name = ''; |
... | ... | |
32 | 30 |
private $_fingerprint = ''; |
33 | 31 |
|
34 | 32 |
/* Construtor */ |
35 |
protected function __construct() |
|
33 |
protected function __construct($mode = self::FRONTEND)
|
|
36 | 34 |
{ |
37 | 35 |
$this->_FTAN = ''; |
38 | 36 |
$this->_salt = $this->_generate_salt(); |
Also available in: Unified diff
fixed inclusion of SecureForm
added IDNA/Punycode to wb::validate_email()