Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • perun/perun-proxyidp/proxyidp-gui
1 result
Show changes
Commits on Source (4)
## [7.2.4](https://gitlab.ics.muni.cz/perun/perun-proxyidp/proxyidp-gui/compare/v7.2.3...v7.2.4) (2024-06-03)
### Bug Fixes
* read mfa_reset_translations correctly ([8761dfb](https://gitlab.ics.muni.cz/perun/perun-proxyidp/proxyidp-gui/commit/8761dfb4e304cb38aff96820f9a7df830b17d2bd))
## [7.2.3](https://gitlab.ics.muni.cz/perun/perun-proxyidp/proxyidp-gui/compare/v7.2.2...v7.2.3) (2024-06-03)
......
......@@ -209,7 +209,7 @@ gui:
preferred_mail_attribute: "urn:perun:user:attribute-def:def:preferredMail:" # REQUIRED mail to which MFA reset verification link will be sent
all_mails_attribute: "urn:perun:user:attribute-def:virt:tcsMails:mu" # OPTIONAL mails where notification about the MFA reset will be sent if configured
helpdesk_mail: "it@muni.cz" # REQUIRED mail where request to reset MFA will be forwarded after being confirmed by the user
mail_login_credentials_filepath: path_to_credentials # OPTIONAL credentials to email from which the MFA reset link and notifications will be sent in a newline-delimited file like username<\n>password
mail_login_credentials_filepath: path_to_credentials # OPTIONAL credentials to email from which the MFA reset link and notifications will be sent in a newline-delimited file like username<\n>password, the username is also used as the FROM address
smtp_server: smtp.example.com # REQUIRED server from which the signed emails will be sent
smtp_port: 487
cert_filepath: certificate_filepath # REQUIRED for S/MIME signatures used in emails
......
......@@ -16,7 +16,9 @@ class EmailService:
self.__CERT_FILE = cfg["mfa_reset"]["cert_filepath"]
self.__HELPDESK_EMAIL = cfg["mfa_reset"]["helpdesk_mail"]
self.__PRIVATE_KEY = cfg["mfa_reset"]["private_key_filepath"]
self.__TRANSLATIONS = cfg.get("mfa_reset_translations", {}).get("sections")
self.__TRANSLATIONS = (
cfg["mfa_reset"].get("mfa_reset_translations", {}).get("sections")
)
self.__JWT_SERVICE = SingletonJWTServiceProvider.get_provider().get_service()
self.__LOGIN_EMAIL = None
self.__LOGIN_PASS = None
......
[metadata]
version = 7.2.3
version = 7.2.4
license_files = LICENSE