Commit da65de98 authored by Toni Beier's avatar Toni Beier

Use cached username value instead of parse it from identity value

parent 964edff5
Pipeline #21431 passed with stages
in 3 minutes and 17 seconds
......@@ -264,7 +264,7 @@ class Helper {
//Build and set new identity
String identity = jsonEduromConfig.getString( "identity" );
String idmPrimaryKey = jsonEduromConfig.getString("pk");
String username = identity.substring(0, identity.indexOf('@'));
String username = jsonEduromConfig.getString("username");
jsonEduromConfig.put("identity", context.getString(R.string.edurom_identity_pattern, username,idmPrimaryKey));
//Set new Submatch
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment