Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
0436d6e24a | |||
3e11c63e33 |
1
app.py
1
app.py
@ -331,6 +331,7 @@ def admin():
|
|||||||
photos=photos,
|
photos=photos,
|
||||||
accent_color=config["appearance"]["accent_color"],
|
accent_color=config["appearance"]["accent_color"],
|
||||||
config=config,
|
config=config,
|
||||||
|
nonce=g.csp_nonce,
|
||||||
)
|
)
|
||||||
|
|
||||||
@app.route("/admin/logout")
|
@app.route("/admin/logout")
|
||||||
|
@ -261,7 +261,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script nonce="{{ g.csp_nonce }}">
|
<script nonce="{{ nonce }}">
|
||||||
function makeEditable(element) {
|
function makeEditable(element) {
|
||||||
const value = element.textContent;
|
const value = element.textContent;
|
||||||
const input = document.createElement('input');
|
const input = document.createElement('input');
|
||||||
|
Reference in New Issue
Block a user