mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
resurrecting old field
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6138 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
557da22aaf
commit
9f66db5e92
1 file changed
+7
-1
@@ -1179,7 +1179,13 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
|
||||
// keep using 'useSecurity' field as the main configuration setting
|
||||
// until we get the new security implementation working
|
||||
// useSecurity = null;
|
||||
security = req.getParameter("use_security")!=null ? SecurityMode.LEGACY : SecurityMode.UNSECURED;
|
||||
if (req.getParameter("use_security") != null) {
|
||||
security = SecurityMode.LEGACY;
|
||||
useSecurity = true;
|
||||
} else {
|
||||
security = SecurityMode.UNSECURED;
|
||||
useSecurity = false;
|
||||
}
|
||||
|
||||
{
|
||||
String v = req.getParameter("slaveAgentPortType");
|
||||
|
||||
Reference in new issue
Block a user