csrf
This commit is contained in:
parent
e7c6b6fb52
commit
7a56d56c30
Binary file not shown.
|
|
@ -62,8 +62,6 @@ SECRET_KEY = '_qv2t2lmsctjxpbb4rrp=op%_20_hxzonv^mvty1o85c)l$s^q'
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['digitale-agentur.com', 'www.digitale-agentur.com', '127.0.0.1', 'localhost', 'dev01.digitale-agentur.com', '10.0.2.2']
|
ALLOWED_HOSTS = ['digitale-agentur.com', 'www.digitale-agentur.com', '127.0.0.1', 'localhost', 'dev01.digitale-agentur.com', '10.0.2.2']
|
||||||
|
|
||||||
#CSRF_TRUSTED_ORIGINS = ['0.0.0.0', 'digitale-agentur.com', 'www.digitale-agentur.com', '127.0.0.1', 'localhost', 'dev01.digitale-agentur.com']
|
|
||||||
|
|
||||||
# FORWARD HEADERS
|
# FORWARD HEADERS
|
||||||
USE_X_FORWARDED_HOST = True
|
USE_X_FORWARDED_HOST = True
|
||||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||||
|
|
|
||||||
|
|
@ -334,6 +334,9 @@
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.roundimg {
|
.roundimg {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
-webkit-box-shadow: 0px 0px 4px 5px red;
|
||||||
|
-moz-box-shadow: 0px 0px 4px 5px red;
|
||||||
|
box-shadow: 0px 0px 4px 5px red;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="topbar-divider d-none d-sm-block"></div>
|
<div class="topbar-divider d-none d-sm-block"></div>
|
||||||
|
|
@ -341,7 +344,7 @@
|
||||||
<li class="nav-item dropdown no-arrow">
|
<li class="nav-item dropdown no-arrow">
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<span class="mr-2 d-none d-lg-inline text-gray-600 small">{{request.user.first_name}} {{request.user.last_name}}</span>
|
<span class="mr-2 d-none d-lg-inline text-gray-600 small">{{request.user.first_name}} {{request.user.last_name}}</span>
|
||||||
<img class="img-profile roundimg" src="{{ user.profile.get_photo_url }}">
|
<img class="img-profile roundimg ml-2" src="{{ user.profile.get_photo_url }}">
|
||||||
</a>
|
</a>
|
||||||
<!-- Dropdown - User Information -->
|
<!-- Dropdown - User Information -->
|
||||||
<div class="dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="userDropdown">
|
<div class="dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="userDropdown">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue