readme displays on cgi page
This commit is contained in:
parent
88c39cdae1
commit
30e0b4521c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue