siphon-server/config-example.py

21 lines
531 B
Python

# Database connection configuration
mysql_server = 'myserver'
mysql_database = 'mydatabase'
mysql_user = 'mysqluser'
mysql_password = 'mysqlpassword'
mysql_port = 3306
# Enable user registration
allow_register = True
# Mail server configuration
smtp_server = 'localhost'
smtp_port = 25
# E-mail message for password restoration
message_html = False
message_encoding = 'utf-8'
message_from = 'siphon-server'
message_subject = "Password change for siphon-server"
message_body = "You can change your password at this URL: @@URL@@"