lib/rodauth/features/oauth.rb in rodauth-oauth-0.7.0 vs lib/rodauth/features/oauth.rb in rodauth-oauth-0.7.1

- old
+ new

@@ -568,9 +568,11 @@ definition[:unique] && definition[:columns] == oauth_tokens_unique_columns end self.class.send(:define_method, :__one_oauth_token_per_account) { one_oauth_token_per_account } + + i18n_register(File.expand_path(File.join(__dir__, "..", "..", "..", "locales"))) if features.include?(:i18n) end def use_date_arithmetic? true end