readme displays on cgi page

This commit is contained in:
James Tomasino 2022-02-20 23:19:47 +00:00
parent 88c39cdae1
commit 30e0b4521c
1 changed files with 6 additions and 3 deletions

View File

@ -4,10 +4,13 @@ from helpers import get_client_cert
from db import check_hash
TLS_CLIENT_HASH = get_client_cert()
print("TLS_CLIENT_HASH:")
print(TLS_CLIENT_HASH)
user_id = check_hash(TLS_CLIENT_HASH)
print("USER ID:")
with open('README.md') as f:
contents = f.read()
print(contents)
print("## USER ID:")
print(user_id)
#vim:fenc=utf-8:ts=4:sw=4:sta:noet:sts=4:fdm=marker:ai