Skip to main content

Removed and Backward Incompatibility

All the deprecated features that have now been removed and any backward incompatibilities. There should be an explanation of how to mitigate the removals / changes.

Removed legacy OTP code from UserModel and ProfileModel

  • PR: https://github.com/joomla/joomla-cms/pull/47457
  • Description: With the introduction of multi-factor authentication in Joomla 4.2, several methods for the one-time-password feature were made obsolete and deprecated. They were not working since 4.2 anyway, but with 7.0 they have been removed entirely. The following methods in the administrator part of com_users were removed:
    • UserModel::getOtpConfig()
    • UserModel::setOtpConfig()
    • UserModel::getOtpConfigEncryptionKey()
    • UserModel::getTwofactorform()
    • UserModel::generateOteps()
    • UserModel::isValidSecretKey()
    • UserModel::isValidOtep()
    • ProfileModel::getTwofactorform()
    • ProfileModel::getOtpConfig()