Skip to content

Commit b198fcd

Browse files
Merge 25.11 to 26.2
2 parents 4ab0ea2 + e14e511 commit b198fcd

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

api/src/org/labkey/api/security/LoginUrls.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public interface LoginUrls extends UrlProvider
3333
ActionURL getInitialUserURL();
3434
ActionURL getLoginURL();
3535
ActionURL getLoginURL(URLHelper returnUrl);
36+
ActionURL getRegisterURL(Container c, @Nullable URLHelper returnUrl);
3637
ActionURL getLoginURL(Container c, @Nullable URLHelper returnUrl);
3738
ActionURL getLogoutURL(Container c);
3839
ActionURL getLogoutURL(Container c, URLHelper returnUrl);

core/src/org/labkey/core/login/LoginController.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,17 @@ public ActionURL getLoginURL(Container c, @Nullable URLHelper returnUrl)
239239
return url;
240240
}
241241

242+
@Override
243+
public ActionURL getRegisterURL(Container c, @Nullable URLHelper returnUrl)
244+
{
245+
ActionURL url = new ActionURL(RegisterAction.class, c);
246+
247+
if (null != returnUrl)
248+
url.addReturnUrl(returnUrl);
249+
250+
return url;
251+
}
252+
242253
@Override
243254
public ActionURL getLogoutURL(Container c)
244255
{

0 commit comments

Comments
 (0)