Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Commit b6c55d7

Browse files
committed
fix sql query
1 parent 3b50824 commit b6c55d7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

buildtokenproperties.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ perl -pi -e "s/\{\{AUTH0_NEW_ID\}\}/$AUTH0_NEW_ID/g" $CONFFILENAME
8888
perl -pi -e "s/\{\{AUTH0_NEW_ID_SECRET\}\}/$AUTH0_NEW_ID_SECRET/g" $CONFFILENAME
8989
perl -pi -e "s/\{\{AUTH0_NEW_NONINTERACTIVE_ID\}\}/$AUTH0_NEW_NONINTERACTIVE_ID/g" $CONFFILENAME
9090
perl -pi -e "s/\{\{AUTH0_NEW_NONINTERACTIVE_ID_SECRET\}\}/$AUTH0_NEW_NONINTERACTIVE_ID_SECRET/g" $CONFFILENAME
91-
echo $DICEAUTH_DICE_URL
9291
perl -pi -e "s|\{\{DICEAUTH_DICE_URL\}\}|$DICEAUTH_DICE_URL|g" $CONFFILENAME
9392
perl -pi -e "s|\{\{DICEAUTH_DICE_API_URL\}\}|$DICEAUTH_DICE_API_URL|g" $CONFFILENAME
9493
perl -pi -e "s/\{\{DICEAUTH_API_KEY\}\}/$DICEAUTH_API_KEY/g" $CONFFILENAME

src/main/java/com/appirio/tech/core/service/identity/dao/UserDAO.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public abstract class UserDAO implements DaoBase<User>, Transactional<UserDAO> {
9797
@RegisterMapperFactory(TCBeanMapperFactory.class)
9898
@SqlQuery(
9999
"SELECT " + USER_COLUMNS + ", " +
100-
"s.password AS credential$encodedPassword, e.address AS email, e.status_id AS emailStatus " +
100+
"s.password AS credential$encodedPassword, e.address AS email, e.status_id AS emailStatus, " +
101101
"mfa.enabled AS mfaEnabled, mfa.verified AS mfaVerified " +
102102
"FROM common_oltp.user AS u " +
103103
"LEFT OUTER JOIN common_oltp.email AS e ON u.user_id = e.user_id AND e.email_type_id = 1 AND e.primary_ind = 1 " +
@@ -172,7 +172,7 @@ public abstract class UserDAO implements DaoBase<User>, Transactional<UserDAO> {
172172
@RegisterMapperFactory(TCBeanMapperFactory.class)
173173
@SqlQuery(
174174
"SELECT " + USER_COLUMNS + ", " +
175-
"e.address AS email, e.status_id AS emailStatus " +
175+
"e.address AS email, e.status_id AS emailStatus, " +
176176
"mfa.enabled AS mfaEnabled, mfa.verified AS mfaVerified " +
177177
"FROM common_oltp.user AS u " +
178178
"LEFT JOIN common_oltp.user_2fa AS mfa ON mfa.user_id = u.user_id " +

0 commit comments

Comments
 (0)