prefill dashboard url

This commit is contained in:
1Day 2022-01-26 13:16:11 +01:00
parent 747467443d
commit 4280084cb5
2 changed files with 2 additions and 3 deletions

View file

@ -1 +0,0 @@
locked

View file

@ -217,7 +217,7 @@ echo $cardheader;
<label for="database">Your Dashboard URL</label>
<input id="url" name="url"
type="text" required
value="https://dash.example.com" class="form-control">
value="<?php echo "https://" . $_SERVER['SERVER_NAME']; ?>" class="form-control">
</div>
</div>
<div class="form-group">
@ -421,7 +421,7 @@ echo $cardheader;
</div>
<div class="form-group">
<div class="custom-control mb-3">
<label for="repass">Retype Pass</label>
<label for="repass">Retype Password</label>
<input id="repass" name="repass" type="password"
required
value="" minlength="8" class="form-control">