citizenlab
citizenlab copied to clipboard
[TAN-1573] Fix Criipto config shown as Auth0 on AdminHQ
@kogre I tried to investigate why Criipto config is shown as Auth0 (e.g., see Horsholm). It's still not clear to me, but it's definitely related to the multiloc_string type. Every other verification method that uses multiloc_string in config_parameters_schema is also displayed as Auth0.
conf = AppConfiguration.first
ver = conf.settings['verification']['verification_methods'].find { |m| m['name'] == 'criipto' }
ver['method_name_multiloc'] = 'MitID'
conf.save!
| Warnings | |
|---|---|
| :warning: |
The changelog is empty. What should I put in the changelog? |
| :warning: | The PR title contains no Jira issue key (case-sensitive) |
| :warning: | The branch name contains no Jira issue key (case-sensitive) |
| Messages | |
|---|---|
| :book: | |
| :book: | Check translation progress |
Generated by :no_entry_sign: dangerJS against c5ddb2710c73ab900f89584245f08546b4e0ed6a
@jamesspeake
we'll have to fix again I guess
Yes, it's true unofrtunately. Or we can also come up with a universal phrase like "MitID" that doesn't require translation.
@jamesspeake I've set the correct names and deleted the old unused fields for all active and demo tenants :heavy_check_mark: