UsersModelUser::setOtpConfig
Sets the one time password (OTP) – a.k.a. two factor authentication – configuration for a particular user. The $otpConfig object is the same as the one returned by the getOtpConfig method.
Signature
public function setOtpConfig(integer
$user_id,
stdClass
$otpConfig )
Parameters
-
$user_id
- The numeric ID of the user
-
$otpConfig
- The OTP configuration object
Returns
- boolean
- True on success