From 6f148528dcb868e43e26cf8896e27f389cc83c30 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Tue, 16 Apr 2013 20:52:36 +0400
Subject: [PATCH] set otp field to autocomplete=off

---
 plugins/auth_internal/init.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/auth_internal/init.php b/plugins/auth_internal/init.php
index 1ec4ec655..9ec131448 100644
--- a/plugins/auth_internal/init.php
+++ b/plugins/auth_internal/init.php
@@ -60,7 +60,7 @@ class Auth_Internal extends Plugin implements IAuthModule {
 								<input type="hidden" name="password" value="<?php echo htmlspecialchars($password) ?>">
 
 								<label><?php echo __("Please enter your one time password:") ?></label>
-								<input size="6" name="otp" value=""/>
+								<input autocomplete="off" size="6" name="otp" value=""/>
 								<input type="submit" value="Continue"/>
 							</form>
 							<script type="text/javascript">
-- 
GitLab