Commit f16070e3 authored by Toni Beier's avatar Toni Beier

Checking if new anonymous identity is used

parent 2d2fbae1
......@@ -549,8 +549,14 @@ class Helper {
if (currentConfig.enterpriseConfig.getAnonymousIdentity().length()>0) {
message=currentConfig.enterpriseConfig.getAnonymousIdentity();
ticked = true;
String anonymousIdentity = currentConfig.enterpriseConfig.getAnonymousIdentity();
if (!anonymousIdentity.equals(context.getString(R.string.edurom_anonymous_identity))) {
message = context.getString(R.string.edurom_error_old_configuration, anonymousIdentity);
ticked = false;
} else {
message = anonymousIdentity;
ticked = true;
}
} else {
message="Nicht gesetzt";
ticked = false;
......
<resources>
<string name="app_name">TUC WLAN</string>
<string translatable="false" name="edurom_anonymous_identity">androidapp_ca2030@tu-chemnitz.de</string>
<string translatable="false" name="edurom_error_old_configuration">Veraltete Anonyme Identität: %1$s</string>
</resources>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment