Skip to content
Snippets Groups Projects
Select Git revision
  • 211aaae17e847eb8c6332f48579cacae9f55d4e0
  • test default protected
  • master protected
  • original
  • pirati-backup protected
  • beta-2
  • beta-1
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.16
  • v3.0.15
  • v3.0.14
  • v3.0.13
  • v3.0.12
  • v3.0.11
  • v3.0.10
  • v3.0.9
  • v3.0.8
  • v3.0.7
  • v3.0.6
  • v3.0.5
  • v3.0.4
25 results

initialization.py.sample

Blame
  • initialization.py.sample 408 B
    """
    Initialization for the system
    """
    
    
    import helios
    import auth
    import auth.models
    
    #from server-ui import glue
    
    helios.TEMPLATE_BASE = "server-ui/templates/base.html"
    helios.ADMIN_ONLY = True
    helios.ADMIN = auth.models.User.get_or_create(user_type = 'cas', user_id = 'yaro', info={})
    
    # authentication limited to passwords
    auth.ENABLED_AUTH_SYSTEMS = ['cas', 'password']
    auth.DEFAULT_AUTH_SYSTEM = 'cas'