Merge pull request #377 from 1day2die/development

prefill dashboard url
This commit is contained in:
Dennis 2022-01-26 13:16:56 +01:00 committed by GitHub
commit 68e4d87c79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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> <label for="database">Your Dashboard URL</label>
<input id="url" name="url" <input id="url" name="url"
type="text" required type="text" required
value="https://dash.example.com" class="form-control"> value="<?php echo "https://" . $_SERVER['SERVER_NAME']; ?>" class="form-control">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
@ -421,7 +421,7 @@ echo $cardheader;
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="custom-control mb-3"> <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" <input id="repass" name="repass" type="password"
required required
value="" minlength="8" class="form-control"> value="" minlength="8" class="form-control">