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
@@ -55,6 +55,9 @@ Upcoming changes</a>
|
||||
<!-- Record your changes in the trunk here. -->
|
||||
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
|
||||
<ul class=image>
|
||||
<li class=bug>
|
||||
Do not throw exception on <code>/signup</code> when not possible.
|
||||
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-11172">issue 11172</a>)
|
||||
<li class=bug>
|
||||
Fingerprint compaction aggravated lazy-loading performance issues.
|
||||
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-19392">issue 19392</a>)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<!--
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2014 Daniel Beck
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
-->
|
||||
<?jelly escape-by-default='true'?>
|
||||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
|
||||
<st:statusCode value="404" />
|
||||
<st:include page="sidepanel.jelly" from="${app}" it="${app}" />
|
||||
<l:layout title="${%Signup not supported}">
|
||||
<l:main-panel>
|
||||
<h1>${%Sign up}</h1>
|
||||
${%This is not supported in the current configuration.}
|
||||
</l:main-panel>
|
||||
</l:layout>
|
||||
</j:jelly>
|
||||
Reference in new issue
Block a user