/trunk/includes/classes/OIDplusRAAuthInfo.class.php |
---|
30,7 → 30,7 |
public function setAuthKey($authKey) { |
// 250 is the length of the database field |
if (strlen($authKey) > 250) throw new OIDplusException(_L('Field %1 is too long. Max allowed %2','Auth key',250)); |
if (is_null($authKey) || ($authKey === false)) throw new OIDplusException(_L('Field %1 is too invalid','Auth key')); |
if (is_null($authKey) || ($authKey === false)) throw new OIDplusException(_L('Field %1 is invalid','Auth key')); |
$this->authKey = $authKey; |
} |
/trunk/plugins/viathinksoft/language/dede/messages.xml |
---|
2270,7 → 2270,7 |
</message> |
<message> |
<source><![CDATA[ |
Field %1 is too invalid |
Field %1 is invalid |
]]></source> |
<target><![CDATA[ |
Feld %1 ist ungültig |
/trunk/plugins/viathinksoft/raPages/102_change_email/OIDplusPageRaChangeEMail.class.php |
---|
132,7 → 132,7 |
throw new OIDplusException(_L('Invalid auth key')); |
} |
if ((OIDplus::config()->getValue('max_ra_email_change_time') > 0) && (time()-$timestamp > OIDplus::config()->maxEmailChangeTime())) { |
if ((OIDplus::config()->getValue('max_ra_email_change_time') > 0) && (time()-$timestamp > OIDplus::config()->getValue('max_ra_email_change_time'))) { |
throw new OIDplusException(_L('Activation link expired!')); |
} |