From af01e42f2b0b17bacba3e78aeea12b7c235688f5 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Wed, 10 Feb 2016 12:53:16 +0100
Subject: [PATCH] Exclude some characters from password generator (Closes
 #3429)

---
 interface/web/js/scrigo.js.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php
index a30a9ec044..d5af589c23 100644
--- a/interface/web/js/scrigo.js.php
+++ b/interface/web/js/scrigo.js.php
@@ -153,9 +153,9 @@ function password(minLength, special, num_special){
 	var maxLength = minLength + 5;
 	var length = getRandomInt(minLength, maxLength);
 	
-	var alphachars = "abcdefghijklmnopqrstuvwxyz";
-	var upperchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
-    var numchars = "1234567890";
+	var alphachars = "abcdefghijkmnopqrstuvwxyz";
+	var upperchars = "ABCDEFGHJKLMNPQRSTUVWXYZ";
+    var numchars = "23456789";
     var specialchars = "!@#_";
 	
 	if(num_special == undefined) num_special = 0;
-- 
GitLab