Skip to content

Commit 5f71fc5

Browse files
TCA-852 Fix argument name
1 parent 91e0bdf commit 5f71fc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src-ts/lib/profile-provider/profile-functions/profile-factory/profile.factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { UserProfile } from '../../user-profile.model'
33

44
import { UserRole } from './user-role.enum'
55

6-
export function create(profile: UserProfile, token: TokenModel, hasMfaEnabled: boolean): UserProfile {
6+
export function create(profile: UserProfile, token: TokenModel, hasDiceEnabled: boolean): UserProfile {
77

88
// Currently, the "Self-Service Customer" role is being set when a user is created
99
// during the self-service workflow. There are no other roles being set to distinguish
@@ -16,7 +16,7 @@ export function create(profile: UserProfile, token: TokenModel, hasMfaEnabled: b
1616
profile.isMember = !profile.isCustomer
1717

1818
profile.isWipro = profile.email.endsWith('@wipro.com')
19-
profile.diceEnabled = hasMfaEnabled
19+
profile.diceEnabled = hasDiceEnabled
2020

2121
// store roles for custom capability checks
2222
profile.roles = token.roles || []

0 commit comments

Comments
 (0)