aboutsummaryrefslogtreecommitdiff
path: root/captain/http.f90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2022-05-04 12:08:32 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2022-05-04 12:08:32 -0400
commitf3b48d0678fe23c8ff4aed8bfdc370b3b8197b9f (patch)
treebf547f3a6838bb5079c2e5d22fc58310f4c1155d /captain/http.f90
parentd26549e79053413bf82c510c6fb192289fe7448a (diff)
downloadlevitating-f3b48d0678fe23c8ff4aed8bfdc370b3b8197b9f.tar.gz
levitating-f3b48d0678fe23c8ff4aed8bfdc370b3b8197b9f.zip
Auth levels are now read from a special config file. Both display and operations are now checked for auth level.
Diffstat (limited to 'captain/http.f90')
-rw-r--r--captain/http.f901
1 files changed, 1 insertions, 0 deletions
diff --git a/captain/http.f90 b/captain/http.f90
index 9e2fca5..8449ba2 100644
--- a/captain/http.f90
+++ b/captain/http.f90
@@ -27,6 +27,7 @@ implicit none
integer, parameter::HTTP_CODE_NOTFOUND = 404
integer, parameter::HTTP_CODE_FAILURE = 500
integer, parameter::HTTP_CODE_REDIRECT = 302
+ integer, parameter::HTTP_CODE_UNAUTHORIZED = 401
contains