change motd
This commit is contained in:
parent
802b08c67a
commit
05ce0fc4bc
1 changed files with 1 additions and 5 deletions
|
@ -14,16 +14,12 @@ import plugin
|
|||
config = ioconfig.parser
|
||||
logger = ioconfig.logger
|
||||
|
||||
|
||||
def welcome():
|
||||
"""displays motd in log as welcome message"""
|
||||
logger.info('# proxmaster ][ (c) 2015-2017 deflax.net #')
|
||||
|
||||
logger.info('# proxmaster ][ (c) 2015-2018 deflax.net #')
|
||||
|
||||
def selector(fn, req):
|
||||
""" try to exec commands """
|
||||
json = req.context['doc']
|
||||
#print(json)
|
||||
apipass = json['apikey']
|
||||
if apipass != config.get('general', 'apipass'):
|
||||
status = falcon.HTTP_403
|
||||
|
|
Loading…
Reference in a new issue