Disable authentification of webGUI

bisam edited this page May 9, 2016 · 1 revision
Clone this wiki locally

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:


The whole body block should look like this:

	<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 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>
		<div id="error_msg"></div>

If you have a better working workaround or fix, feel free to post it :)