Fixing issue with site login OTP

Temporary fix with SVN path commit issue
This commit is contained in:
Nathan Adams
2013-08-10 23:34:51 -05:00
parent 5926f62bd1
commit 3f69ca67b7
3 changed files with 7 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ class IDF_Form_UserAccount extends Pluf_Form
'help_text' => __('You will get an email to confirm that you own the address you specify.'),
));
$otp = "";
if ($user_data->otpkey != "")
if ($this->user->otpkey != "")
$otp = Pluf_Utils::convBase($this->user->otpkey, '0123456789abcdef', 'abcdefghijklmnopqrstuvwxyz234567');
$this->fields['otpkey'] = new Pluf_Form_Field_Varchar(
array('required' => false,