Skip to content

Commit 35b15b3

Browse files
committed
remove arguments scope from stParam for Lucee 6.x compatibility
1 parent c53281e commit 35b15b3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

webskin/a0Login/displayLogin.cfm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ START WEBSKIN
5252
<cfoutput><p class="error">You are logged out. <a href="/index.cfm?type=gudLogin&view=displayLogin">Login again</a></p></cfoutput>
5353
<cfelseif isdefined("url.code") and isdefined("session.testAuth0")>
5454
<cflocation url="/webtop/index.cfm?id=admin.security.auth0ud.status&testlogin=2&code=#url.code#" />
55-
<cfelseif isdefined("url.code") and not isdefined("arguments.stParam.message")>
56-
<cfset arguments.stParam = application.security.processLogin() />
57-
<cfif arguments.stParam.authenticated and not request.mode.profile>
58-
<cflocation url="#URLDecode(arguments.stParam.loginReturnURL)#" addtoken="false" />
55+
<cfelseif isdefined("url.code") and not isdefined("stParam.message")>
56+
<cfset stParam = application.security.processLogin() />
57+
<cfif stParam.authenticated and not request.mode.profile>
58+
<cflocation url="#URLDecode(stParam.loginReturnURL)#" addtoken="false" />
5959
<cfelse>
60-
<cfoutput><p class="error">#arguments.stParam.message# <a href="/index.cfm?type=gudLogin&view=displayLogin">Retry</a></p></cfoutput>
60+
<cfoutput><p class="error">#stParam.message# <a href="/index.cfm?type=gudLogin&view=displayLogin">Retry</a></p></cfoutput>
6161
</cfif>
6262
<cfelse>
6363
<cflocation url="#application.security.userdirectories.auth0.getAuthorisationURL(clientID=application.fapi.getConfig('GUD', 'clientid'),redirectURL=application.security.userdirectories.auth0.getRedirectURL())#" addtoken="false" />

0 commit comments

Comments
 (0)