Skip to content

Commit

Permalink
refactor/use param instead of params
Browse files Browse the repository at this point in the history
  • Loading branch information
hongwei1 committed Sep 13, 2023
1 parent 22c796c commit 04af535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions obp-api/src/main/scala/code/model/dataAccess/AuthUser.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1588,8 +1588,8 @@ def restoreSomeSessions(): Unit = {
case _ =>
//if the register page url (user_mgt/sign_up?after-signup=link-to-customer) contains the parameter
//after-signup=link-to-customer,then it will redirect to the on boarding customer page.
S.params("after-signup") match {
case url if (url.nonEmpty && url.head.equals("link-to-customer")) =>
ObpS.param("after-signup") match {
case url if (url.equals("link-to-customer")) =>
"/add-user-auth-context-update-request"
case _ =>
homePage
Expand Down

0 comments on commit 04af535

Please sign in to comment.