Destroyed Disable authentification of webGUI (asciidoc)

Tom Piccirello 2017-11-26 05:06:38 -05:00
parent 97f640219c
commit af735a20bd

@ -1,40 +0,0 @@
Just a small hack I found useful to disable ALL authentification in the WebGUI, as I am using it only in my local network.
Before compiling change into the qBittorrent folder you extracted and modify some lines in this file: *"./src/webui/www/private/login.html"*.
Add *"value=admin"* and *"value=adminadmin"* to these two lines:
----
<input type="text" id="username" name="username" value="admin" /></div>
<input type="password" id="password" name="password" value="adminadmin" /></div>
----
Then add these 3 lines just before the </body> tag:
----
<script>
submitLoginForm();
</script>
----
The whole body block should look like this:
----
<body>
<div id="main">
<h1>qBittorrent QBT_TR(Web UI)QBT_TR</h1>
<div id="logo" class="col">
<img src="images/qbittorrent.png" alt="qBittorrent logo"/>
</div>
<div id="formplace" class="col">
<form id="loginform" action="">
<div class="row"><label for="username">QBT_TR(Name)QBT_TR</label><br /><input type="text" id="username" name="username" value="admin" /></div>
<div class="row"><label for="password">QBT_TR(Password)QBT_TR</label><br /><input type="password" id="password" name="password" value="adminadmin" /></div>
<div class="row"><input type="submit" id="login" value="QBT_TR(Login)QBT_TR" /></div>
</form>
</div>
<div id="error_msg"></div>
</div>
<script>
submitLoginForm();
</script>
</body>
----
If you have a better working workaround or fix, feel free to post it :)