Mail server update.
This commit is contained in:
BIN
__pycache__/app.cpython-311.pyc
Normal file
BIN
__pycache__/app.cpython-311.pyc
Normal file
Binary file not shown.
BIN
__pycache__/config.cpython-311.pyc
Normal file
BIN
__pycache__/config.cpython-311.pyc
Normal file
Binary file not shown.
@@ -37,8 +37,8 @@ class Config:
|
|||||||
"""
|
"""
|
||||||
# id_currency = 1
|
# id_currency = 1
|
||||||
# id_region_delivery = 1
|
# id_region_delivery = 1
|
||||||
MAIL_SERVER = 'localhost' # 'smtp.gmail.com'
|
MAIL_SERVER = 'mail.partsltd.co.uk' # 'smtp.gmail.com'
|
||||||
MAIL_PORT = 25 # 587
|
MAIL_PORT = 465 # 587
|
||||||
MAIL_USE_TLS = False # True
|
MAIL_USE_TLS = False # True
|
||||||
MAIL_USE_SSL = False
|
MAIL_USE_SSL = False
|
||||||
MAIL_USERNAME = os.getenv('MAIL_DEFAULT_SENDER')
|
MAIL_USERNAME = os.getenv('MAIL_DEFAULT_SENDER')
|
||||||
|
|||||||
@@ -306,6 +306,7 @@ img.header-logo {
|
|||||||
.column {
|
.column {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
|
|||||||
29
stderr.log
29
stderr.log
@@ -7066,3 +7066,32 @@ starting
|
|||||||
info_user: {'sub': ''}
|
info_user: {'sub': ''}
|
||||||
type: <class 'dict'>
|
type: <class 'dict'>
|
||||||
is_user_logged_in: False
|
is_user_logged_in: False
|
||||||
|
info_user: {'sub': ''}
|
||||||
|
Model_View_Base.__new__
|
||||||
|
starting
|
||||||
|
Model_View_Base.__init__
|
||||||
|
starting
|
||||||
|
info_user: {'sub': ''}
|
||||||
|
type: <class 'dict'>
|
||||||
|
is_user_logged_in: False
|
||||||
|
Model_View_Base.__new__
|
||||||
|
starting
|
||||||
|
Model_View_Base.__init__
|
||||||
|
starting
|
||||||
|
info_user: {'sub': ''}
|
||||||
|
type: <class 'dict'>
|
||||||
|
is_user_logged_in: False
|
||||||
|
Model_View_Base.__new__
|
||||||
|
starting
|
||||||
|
Model_View_Base.__init__
|
||||||
|
starting
|
||||||
|
info_user: {'sub': ''}
|
||||||
|
type: <class 'dict'>
|
||||||
|
is_user_logged_in: False
|
||||||
|
Model_View_Base.__new__
|
||||||
|
starting
|
||||||
|
Model_View_Base.__init__
|
||||||
|
starting
|
||||||
|
info_user: {'sub': ''}
|
||||||
|
type: <class 'dict'>
|
||||||
|
is_user_logged_in: False
|
||||||
|
|||||||
@@ -130,10 +130,6 @@
|
|||||||
<div class="{{ model.FLAG_CONTAINER }} {{ model.FLAG_ROW }}">
|
<div class="{{ model.FLAG_CONTAINER }} {{ model.FLAG_ROW }}">
|
||||||
<a href="{{ url_for('logout') if model.is_user_logged_in else url_for('login') }}" style="float:right">{{ 'Logout' if model.is_user_logged_in else 'Login' }}</a>
|
<a href="{{ url_for('logout') if model.is_user_logged_in else url_for('login') }}" style="float:right">{{ 'Logout' if model.is_user_logged_in else 'Login' }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="{{ model.FLAG_CONTAINER }} {{ model.FLAG_ROW }}">
|
|
||||||
<div class="{{ model.FLAG_CONTAINER }} {{ model.FLAG_COLUMN }}"><p><a href="{{ url_for('accessibility_statement') }}" alt="Accessibility statement" aria-label="Accessibility statement">Accessibility statement</a></p></div>
|
|
||||||
<div class="{{ model.FLAG_CONTAINER }} {{ model.FLAG_COLUMN }}"><p><a href="{{ url_for('privacy_notice') }}" alt="Privacy notice" aria-label="Privacy notice">Privacy notice</a></p></div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -146,6 +142,10 @@
|
|||||||
<div class="footer">
|
<div class="footer">
|
||||||
<h4 style="padding-top: 1vh;">Copyright © {{ model.NAME_COMPANY }}. <a href="{{ url_for('license') }}" alt="License" aria-label="License">All rights reserved.</a></h4>
|
<h4 style="padding-top: 1vh;">Copyright © {{ model.NAME_COMPANY }}. <a href="{{ url_for('license') }}" alt="License" aria-label="License">All rights reserved.</a></h4>
|
||||||
<h5>Company number 13587499</h5>
|
<h5>Company number 13587499</h5>
|
||||||
|
<div class="{{ model.FLAG_CONTAINER }} {{ model.FLAG_ROW }}">
|
||||||
|
<div class="{{ model.FLAG_CONTAINER }} {{ model.FLAG_COLUMN }}"><p><a href="{{ url_for('accessibility_statement') }}" alt="Accessibility statement" aria-label="Accessibility statement">Accessibility statement</a></p></div>
|
||||||
|
<div class="{{ model.FLAG_CONTAINER }} {{ model.FLAG_COLUMN }}"><p><a href="{{ url_for('privacy_notice') }}" alt="Privacy notice" aria-label="Privacy notice">Privacy notice</a></p></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user