def cli_settings_list(): settings = Provider().settings() headers = ['name', 'value'] table = [] for name, value in settings.all().items(): table.append([name, value]) print(tabulate.tabulate(table, headers)) return True
def users(): users = Provider().users() return render_template('config/system/users/index.html', users=users.all(), auth_types=users.authtypes_all())