(c, config)
Set user whitelists & admin lists
Set user whitelists & admin lists
Set user whitelists & admin lists
def update_userlists(c, config):
    """
    Set user whitelists & admin lists
    """
    users = config["users"]

    c.Authenticator.allowed_users = set(users["allowed"])
    c.Authenticator.blocked_users = set(users["banned"])
    c.Authenticator.admin_users = set(users["admin"])
def update_userlists ( c , config ) : users = config [ "users" ] c . Authenticator . allowed_users = set ( users [ "allowed" ] ) c . Authenticator . blocked_users = set ( users [ "banned" ] ) c . Authenticator . admin_users = set ( users [ "admin" ] )