Security implementation
This commit is contained in:
@@ -23,4 +23,13 @@ spring.liquibase.enabled=true
|
||||
|
||||
# Debugging and SQL Output
|
||||
logging.level.org.springframework.boot.autoconfigure.liquibase=ERROR
|
||||
logging.level.liquibase=ERROR
|
||||
logging.level.liquibase=ERROR
|
||||
# JWT configuration
|
||||
# Ensure these values match your expectations
|
||||
security.authentication.jwt.secret=my-secret-token-to-change-in-prod-environment-your-super-secure-randomly-generated-key
|
||||
security.authentication.jwt.token-validity-in-seconds=86400
|
||||
|
||||
|
||||
spring.main.allow-circular-references=true
|
||||
|
||||
|
||||
|
||||
@@ -27,3 +27,10 @@ create.regiom.error=Error occurred while creating the region.
|
||||
update.region.error=Error occurred while updating the region.
|
||||
password.doesnt.match=Password and confirm password do not match.
|
||||
|
||||
login.successfully=Login successfully.
|
||||
pass.min.len.msg=Password must be at least 8 characters long.
|
||||
email.already.exists=A user with this email already exists.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -26,3 +26,10 @@ user.region.not.found=Regione non trovata.
|
||||
create.regiom.error=Errore durante la creazione della regione.
|
||||
update.region.error=Errore durante l'aggiornamento della regione.
|
||||
password.doesnt.match=La password e la conferma della password non corrispondono.
|
||||
|
||||
# Login-related messages
|
||||
login.successfully=Accesso effettuato con successo.
|
||||
pass.min.len.msg=La password deve essere lunga almeno 8 caratteri.
|
||||
email.already.exists=Esiste già un utente con questa email.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user