Browse Source

users list only show socks users

master
Robin Thoni 9 years ago
parent
commit
b9d39d8ca4
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      daemon/daemon/mainclass.cpp

+ 2
- 1
daemon/daemon/mainclass.cpp View File

34
 	{
34
 	{
35
 		QStringList users;
35
 		QStringList users;
36
 		foreach(EpiUser user, Epimafia::loadUsers())
36
 		foreach(EpiUser user, Epimafia::loadUsers())
37
-			users << user.getLogin();
37
+			if(user.hasPwd_socks())
38
+				users << user.getLogin();
38
 		resp << users;
39
 		resp << users;
39
 	}
40
 	}
40
 	else if(type == UsersAdd)
41
 	else if(type == UsersAdd)

Loading…
Cancel
Save