Browse Source

v2.3

bugs
pull/19/head
Aidaho12 7 years ago
parent
commit
7a9d21d7f5
  1. 2
      app/login.py
  2. 2
      index.html

2
app/login.py

@ -42,7 +42,7 @@ if form.getvalue('logout') is not None:
print("Set-cookie: login=; expires=Wed May 18 03:33:20 2003; path=/app/; httponly") print("Set-cookie: login=; expires=Wed May 18 03:33:20 2003; path=/app/; httponly")
print("Set-cookie: role=; expires=Wed May 18 03:33:20 2003; path=/app/; httponly") print("Set-cookie: role=; expires=Wed May 18 03:33:20 2003; path=/app/; httponly")
print("Content-type: text/html\n") print("Content-type: text/html\n")
print('<meta http-equiv="refresh" content="0; url=/">') print('<meta http-equiv="refresh" content="0; url=/overview.py">')
if login is None: if login is None:
funct.head("Login page") funct.head("Login page")

2
index.html

@ -6,7 +6,7 @@
<link href="/favicon.ico" rel="icon" type="image/x-icon" /> <link href="/favicon.ico" rel="icon" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link href="/inc/style.css" rel="stylesheet"> <link href="/inc/style.css" rel="stylesheet">
<meta http-equiv="refresh" content="0; url=/cgi-bin/overview.py"> <meta http-equiv="refresh" content="0; url=/app/overview.py">
</head> </head>
<body> <body>
<p> <p>

Loading…
Cancel
Save