mirror of https://github.com/CIRCL/lookyloo
chg:capture are private
parent
ae0c9e3449
commit
f856a72cf5
|
@ -1644,6 +1644,7 @@ def simple_capture() -> str | Response | WerkzeugResponse:
|
|||
flash('Invalid submission: please submit at least a URL.', 'error')
|
||||
return render_template('simple_capture.html')
|
||||
capture_query: CaptureSettings = {}
|
||||
capture_query['listing'] = False
|
||||
if request.form.get('auto_report'):
|
||||
path = get_homedir() /'config'/ 'users' / (user + ".json")
|
||||
if os.path.isfile(path):
|
||||
|
|
|
@ -33,9 +33,6 @@
|
|||
<div class="row mb-3">
|
||||
<div class="col-sm-10">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="listing" name="listing" {% if default_public %}checked="true"{% endif %}>
|
||||
<label for="listing" class="form-check-label">Display results on public page</label>
|
||||
</br>
|
||||
<input class="form-check-input" id="auto_report" type="checkbox" name="auto_report" checked=checked>
|
||||
<label for="auto_report" class="form-check-label">Auto report</label>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue