Beispiel #1
0
def login():
    details = request.json
    # store password into session checks by connection to promonitor, return true or false?
    login = pm.login(details['username'], details['password'])
    data = jsonify(login)
    return data