Skip to content

Commit

Permalink
TRELLO-2572 : fix unused
Browse files Browse the repository at this point in the history
  • Loading branch information
ssedoudbgouv committed Nov 10, 2024
1 parent ff1af82 commit 06814e7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/EmailAddressService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object EmailAddressService {
adminEmailRegexp.matches(emailAddress)

def isEmailAcceptableForDgccrfAccount(emailAddress: String): Boolean =
dgccrfEmailRegexp.matches(emailAddress) || true
dgccrfEmailRegexp.matches(emailAddress)

def isEmailAcceptableForDgalAccount(emailAddress: String): Boolean =
dgalEmailRegexp.matches(emailAddress)
Expand Down
12 changes: 12 additions & 0 deletions conf/test.application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,16 @@ task {
etablissement-api-key = "fake_key"
}

pro-connect {
url: "http://proconnect.com"
client-id: ""
client-secret: ""
token-endpoint: "api/v2/token"
userinfo-endpoint: "api/v2/userinfo"
login-redirect-uri: "http://localhost:3000/api/authenticate/proconnect/callback"
logout-redirect-uri: "http://localhost:3000/api/logout/proconnect/callback"
//See https://grist.numerique.gouv.fr/o/docs/3kQ829mp7bTy/AgentConnect-Configuration-des-Fournisseurs-dIdentite/p/1 for ids and allow only DGCCRF
allowed-provider-ids: "705c8168-fdf9-4305-8026-bc1b34cc101d,ee56b416-7caa-446d-bfa7-d06af7ba00bd,fia1v2"
}

}

0 comments on commit 06814e7

Please sign in to comment.