Dump changes
This commit is contained in:
parent
b49c6ced26
commit
a4b572dcc7
40 changed files with 186 additions and 37 deletions
|
|
@ -10,8 +10,8 @@ from app.auth.dto import Credentials
|
|||
from app.config import config
|
||||
from app.user.service import get_user_by_username, passwords_match
|
||||
|
||||
JWT_SECRET = config["CGNO_ID_JWT_SECRET"]
|
||||
JWT_ISSUER = "Energia"
|
||||
JWT_SECRET = config["JWT_SECRET"]
|
||||
JWT_ISSUER = "cognio ID"
|
||||
|
||||
|
||||
def authenticate(credentials: Credentials, db: Session) -> Optional[str]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue