Retire .env copy du dépôt et renforce gitignore secrets
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,6 +2,9 @@
|
|||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
!.env.example
|
!.env.example
|
||||||
|
**/.env
|
||||||
|
**/.env copy
|
||||||
|
**/.env.*
|
||||||
|
|
||||||
# Repo Git du rendu école (option A : git init dans swiftyCompanion/)
|
# Repo Git du rendu école (option A : git init dans swiftyCompanion/)
|
||||||
swiftyCompanion/.git/
|
swiftyCompanion/.git/
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
# Renommer / copier en .env — ne jamais committer .env
|
|
||||||
# Application OAuth : https://profile.intra.42.fr/oauth/applications
|
|
||||||
|
|
||||||
CLIENT_ID=u-s4t2ud-27c021a8466dee9257a38cb90b4a9dced60289e9ac5426724b4b18efc2f7ff8b
|
|
||||||
CLIENT_SECRET=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
|
|
||||||
# Identique au champ « URI de redirection » sur l’Intra (une seule ligne, sans guillemets)
|
|
||||||
REDIRECT_URI=com.example.swiftycompanion://callback
|
|
||||||
6
swiftyCompanion/swifty_companion/.gitignore
vendored
6
swiftyCompanion/swifty_companion/.gitignore
vendored
@@ -1,3 +1,9 @@
|
|||||||
|
# Secrets (sujet 42 — ne jamais committer)
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
.env copy
|
||||||
|
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
*.class
|
*.class
|
||||||
*.log
|
*.log
|
||||||
|
|||||||
Reference in New Issue
Block a user