mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 05:42:02 +08:00

The ROTP gem is only used in a very small amount of places in the app, we don't need to globally require it. Also set the Addressable gem to not have a specific version range, as it has not been a problem yet. Some slight refactoring of UserSecondFactor here too to use SecondFactorManager to avoid code repetition