mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Added an setting to disable password reset mechanism.
By default the pw reset is disabled, when no email server is configured.
This commit is contained in:
parent
4f70d8b1da
commit
12b3107188
6 changed files with 105 additions and 11 deletions
19
.env
19
.env
|
@ -42,7 +42,18 @@ BANNER=""
|
|||
# In demo mode things it is not possible for a user to change his password and his settings.
|
||||
DEMO_MODE=0
|
||||
|
||||
### End custom vars
|
||||
###> symfony/mailer ###
|
||||
# MAILER_DSN=smtp://localhost
|
||||
###< symfony/mailer ###
|
||||
###################################################################################
|
||||
# Email related settings
|
||||
###################################################################################
|
||||
|
||||
# The DSN of the email server that should be used for sending emails (disabled by default)
|
||||
# See Transport section of https://symfony.com/doc/current/components/mailer.html for available providers and syntax
|
||||
MAILER_DSN=null://null
|
||||
#MAILER_DSN=smtp://user:password@smtp.mailserver.invalid:587
|
||||
|
||||
# The email address from which all Part-DB emails should be sent. Change this when you configure email!
|
||||
EMAIL_SENDER_EMAIL=noreply@partdb.changeme
|
||||
|
||||
# Set this to 1 to allow reset of a password per email
|
||||
ALLOW_EMAIL_PW_RESET=0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue