Jelajahi Sumber

x-Auth-Token

ash 2 tahun lalu
induk
melakukan
271776170b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Backend/Sources/View/view_basics_api.py

+ 1 - 1
Backend/Sources/View/view_basics_api.py

@@ -48,7 +48,7 @@ def define_basic_api(app) :
         if not request.path == __api_login_url__ :
 
 
-            auth_header_value = request.headers.get('Authorization', None)
+            auth_header_value = request.headers.get('x-Auth-Token', None)
 
             if not auth_header_value:
                 raise Exception("request does not have a authentification token")