class Rodauth::FeatureConfiguration

def def_auth_method(meth, priv)

def def_auth_method(meth, priv)
  define_method(meth) do |&block|
    @auth.send(:define_method, meth, &block)
    @auth.send(:private, meth) if priv
    @auth.send(:alias_method, meth, meth)
  end
end