Skip to content

Commit

Permalink
[TAN-2794] Final small changes to keycloak verification
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesspeake committed Oct 14, 2024
1 parent 1fbd842 commit 4d49fd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ def config_parameters
]
end

# TODO: JS - Implement hide_from_profile

def config_parameters_schema
{
ui_method_name: {
Expand Down Expand Up @@ -74,5 +72,9 @@ def updateable_user_attrs
def enabled_for_verified_actions?
config[:enabled_for_verified_actions] || false
end

def ui_method_name
config[:ui_method_name] || name
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
expect(updated_settings['verification']['enabled']).to be false
end

it 'does not disable verification if at least one methods is NOT hidden from the profile' do
it 'does not disable verification if at least one method is NOT hidden from the profile' do
settings = {
'verification' => {
'allowed' => true,
Expand Down

0 comments on commit 4d49fd9

Please sign in to comment.