mirror of
https://github.com/rudy3333/eversync.git
synced 2025-07-17 07:59:06 +00:00
fix settings+unpushed a secret
This commit is contained in:
parent
8b0a82e9f6
commit
626fb2f83c
2 changed files with 3 additions and 6 deletions
|
@ -60,6 +60,7 @@ EMAIL_USE_TLS=True
|
||||||
EMAIL_HOST_USER=your_email@example.com
|
EMAIL_HOST_USER=your_email@example.com
|
||||||
EMAIL_HOST_PASSWORD=your_email_password
|
EMAIL_HOST_PASSWORD=your_email_password
|
||||||
DEFAULT_FROM_EMAIL=webmaster@localhost
|
DEFAULT_FROM_EMAIL=webmaster@localhost
|
||||||
|
REGISTRATION_SALT=randomstring
|
||||||
```
|
```
|
||||||
|
|
||||||
- For push notifications, place your Firebase service account JSON as `fcm_secret.json` in the project root.
|
- For push notifications, place your Firebase service account JSON as `fcm_secret.json` in the project root.
|
||||||
|
|
|
@ -32,6 +32,7 @@ SECRET_KEY = os.getenv('SECRET_KEY')
|
||||||
FCM_SERVICE_ACCOUNT = str(BASE_DIR / "fcm_secret.json")
|
FCM_SERVICE_ACCOUNT = str(BASE_DIR / "fcm_secret.json")
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
|
# probably will get rid of this soon but since no one uses this besides HC'ers im fine
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
|
|
||||||
|
@ -65,11 +66,6 @@ RECAPTCHA_PUBLIC_KEY = os.getenv('RECAPTCHA_PUBLIC_KEY')
|
||||||
RECAPTCHA_PRIVATE_KEY = os.getenv('RECAPTCHA_PRIVATE_KEY')
|
RECAPTCHA_PRIVATE_KEY = os.getenv('RECAPTCHA_PRIVATE_KEY')
|
||||||
RECAPTCHA_USE_SSL = True
|
RECAPTCHA_USE_SSL = True
|
||||||
|
|
||||||
WEBPUSH_SETTINGS = {
|
|
||||||
"VAPID_PUBLIC_KEY": "BArtoQuGwO4z_wyCZJ6cZpkCJVuEHt-YeiHtocH6cTmPNUHL8657te2gXhEiXjjfNMy0igo1PxrSGFokdOokzfA",
|
|
||||||
"VAPID_PRIVATE_KEY": "6L3Sgw-co-X2kuKTIkZAMxXYuhi0F3dcCFwE6VdknOI",
|
|
||||||
"VAPID_ADMIN_EMAIL": "mmax3163@gmail.com"
|
|
||||||
}
|
|
||||||
|
|
||||||
CACHES = {
|
CACHES = {
|
||||||
'default': {
|
'default': {
|
||||||
|
@ -191,7 +187,7 @@ LOGIN_URL = '/accounts/login/'
|
||||||
# Registration settings
|
# Registration settings
|
||||||
ACCOUNT_ACTIVATION_DAYS = 7 # One-week activation window
|
ACCOUNT_ACTIVATION_DAYS = 7 # One-week activation window
|
||||||
REGISTRATION_OPEN = True
|
REGISTRATION_OPEN = True
|
||||||
REGISTRATION_SALT = 'registration'
|
REGISTRATION_SALT = os.getenv('REGISTRATION_SALT', 'registration')
|
||||||
|
|
||||||
MEDIA_URL = '/files/'
|
MEDIA_URL = '/files/'
|
||||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'files')
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'files')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue