Initial commit

This commit is contained in:
Yaser
2026-08-13 19:56:46 +03:30
commit de1d57a67b
474 changed files with 43185 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# FIXME BarongConfig should be a feature of Barong::App
class BarongConfig
class << self
def list
@hash ||= read_from_yaml
end
private
def read_from_yaml
conf = YAML.load_file(Barong::App.config.config)
conf['activation_requirements'] = {'email' => 'verified'} unless conf['activation_requirements']
conf
end
end
end