Essaye d'éviter les problèmes d'auto-remplissage des champs

Corrige
https://github.com/marienfressinaud/FreshRSS/issues/327#issuecomment-32635516
This commit is contained in:
Alexandre Alapetite
2014-01-17 22:47:21 +01:00
parent 3d9d054f43
commit 7261a551e9
3 changed files with 6 additions and 6 deletions

View File

@@ -30,8 +30,8 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
$cat = $def_cat->id ();
}
$user = Minz_Request::param ('username');
$pass = Minz_Request::param ('password');
$user = Minz_Request::param ('http_user');
$pass = Minz_Request::param ('http_pass');
$params = array ();
$transactionStarted = false;

View File

@@ -1,7 +1,7 @@
<ul class="nav nav-list aside aside_feed">
<li class="nav-header"><?php echo Minz_Translate::t ('your_rss_feeds'); ?></li>
<li class="nav-form"><form id="add_rss" method="post" action="<?php echo Minz_Url::display (array ('c' => 'feed', 'a' => 'add')); ?>">
<li class="nav-form"><form id="add_rss" method="post" action="<?php echo Minz_Url::display (array ('c' => 'feed', 'a' => 'add')); ?>" autocomplete="off">
<div class="stick">
<input type="url" name="url_rss" placeholder="<?php echo Minz_Translate::t ('add_rss_feed'); ?>" />
<div class="dropdown">
@@ -27,10 +27,10 @@
<li class="dropdown-header"><?php echo Minz_Translate::t ('http_authentication'); ?></li>
<li class="input">
<input type="text" name="username" id="username" placeholder="<?php echo Minz_Translate::t ('username'); ?>" />
<input type="text" name="http_user" id="http_user" autocomplete="off" placeholder="<?php echo Minz_Translate::t ('username'); ?>" />
</li>
<li class="input">
<input type="password" name="password" id="password" placeholder="<?php echo Minz_Translate::t ('password'); ?>" />
<input type="password" name="http_pass" id="http_pass" autocomplete="off" placeholder="<?php echo Minz_Translate::t ('password'); ?>" />
</li>
</ul>
</div>

View File

@@ -11,7 +11,7 @@
<p class="alert alert-error"><span class="alert-head"><?php echo Minz_Translate::t ('damn'); ?></span> <?php echo Minz_Translate::t ('feed_in_error'); ?></p>
<?php } ?>
<form method="post" action="<?php echo _url ('configure', 'feed', 'id', $this->flux->id ()); ?>">
<form method="post" action="<?php echo _url ('configure', 'feed', 'id', $this->flux->id ()); ?>" autocomplete="off">
<legend><?php echo Minz_Translate::t ('informations'); ?></legend>
<div class="form-group">
<label class="group-name" for="name"><?php echo Minz_Translate::t ('title'); ?></label>