]> BookStack Code Mirror - bookstack/blobdiff - resources/views/settings/index.blade.php
Revamped image system to use driver-agnotstic storage and be more efficent
[bookstack] / resources / views / settings / index.blade.php
index eb59e0a5ce9ce653743173d8681b2b2240fa6576..ebf5381983bb81a231ce6a34c3dbdb3735a6357d 100644 (file)
                     <label>Allow public viewing?</label>
                     <toggle-switch name="setting-app-public" value="{{ Setting::get('app-public') }}"></toggle-switch>
                 </div>
+                <div class="form-group">
+                    <label>Enable higher security image uploads?</label>
+                    <p class="small">For performance reasons, all images are public by default, This option adds a random, hard-to-guess characters in front of image names. Ensure directory indexes are not enabled to prevent easy access.</p>
+                    <toggle-switch name="setting-app-secure-images" value="{{ Setting::get('app-secure-images') }}"></toggle-switch>
+                </div>
             </div>
             <div class="col-md-6">
                 <div class="form-group" id="logo-control">
@@ -57,7 +62,7 @@
                     </select>
                 </div>
                 <div class="form-group">
-                    <label for="setting-registration-confirmation">Require Email Confirmation?</label>
+                    <label for="setting-registration-confirmation">Require email confirmation?</label>
                     <p class="small">If domain restriction is used then email confirmation will be required and the below value will be ignored.</p>
                     <toggle-switch name="setting-registration-confirmation" value="{{ Setting::get('registration-confirmation') }}"></toggle-switch>
                 </div>