Nextdoor / ndscheduler

A flexible python library for building your own cron-like system, with REST APIs and a Web UI.
BSD 2-Clause "Simplified" License
1.08k stars 202 forks source link

implement basic authentication #18

Open micmejia opened 7 years ago

micmejia commented 7 years ago

Implement a basic authentication which is turned off by default.

To enable basic authentication, define the 'user' and 'pass' in the settings:

BASIC_AUTH_CONFIG = {
    'user': '',
    'pass': '',
    'realm': 'Nextdoor Scheduler'
}