mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
[JENKINS-11172] Noting merge of #1388.
This commit is contained in:
commit
78cb49b86a
3 files changed
+42
-1
No files matched your search
@@ -3585,7 +3585,11 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
|
||||
* Sign up for the user account.
|
||||
*/
|
||||
public void doSignup( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
|
||||
req.getView(getSecurityRealm(), "signup.jelly").forward(req, rsp);
|
||||
if (getSecurityRealm().allowsSignup()) {
|
||||
req.getView(getSecurityRealm(), "signup.jelly").forward(req, rsp);
|
||||
return;
|
||||
}
|
||||
req.getView(SecurityRealm.class, "signup.jelly").forward(req, rsp);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user