1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Terms of use are not hard coded anymore

This commit is contained in:
2021-02-20 09:35:03 +01:00
parent 0cd9371460
commit a32e968992
6 changed files with 7 additions and 11 deletions

View File

@ -23,6 +23,7 @@ class ServerConfigurationHelper {
_config = ServerConfig(
minSupportedMobileVersion:
Version.parse(response["min_supported_mobile_version"]),
termsURL: response["terms_url"],
passwordPolicy: PasswordPolicy(
allowMailInPassword: passwordPolicy["allow_email_in_password"],
allowNameInPassword: passwordPolicy["allow_name_in_password"],