Bladeren bron

x-Auth-Token

ash 2 jaren geleden
bovenliggende
commit
271776170b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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")