Sécurity MAJ

This commit is contained in:
2025-04-02 10:17:53 +02:00
parent b3eeb2d60c
commit 8e84d39165
31 changed files with 554 additions and 717 deletions
+2 -1
View File
@@ -106,7 +106,7 @@ def load_ui(*args):
ui_class, _ = uic.loadUiType(resources_path("ui", *args))
return ui_class
'''
def login_base(take=None):
from CenRa_METABASE.tools.PythonSQL import host,port,dbname,password,os_user
first_conn = psycopg2.connect("host=" + host + " port=" + port + " dbname="+dbname+" user=first_cnx password=" + password)
@@ -126,6 +126,7 @@ def login_base(take=None):
return cur,con
else:
return cur
'''
def send_issues(url,titre,body,labels):
import requests
import json