mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 00:58:39 +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