mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Destroyed Disable authentification of webGUI (asciidoc)
parent
97f640219c
commit
af735a20bd
1 changed files with 0 additions and 40 deletions
|
@ -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 :)
|
|
Loading…
Reference in a new issue