Skip to content
Snippets Groups Projects

Fixed regex username / uuid

Merged Kostas FILIPPOPOLITIS requested to merge fix-regex-username into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -100,7 +100,7 @@ public class User {
Pattern p;
Matcher m;
p = Pattern.compile("preferred_username=([\\w ]+)");
p = Pattern.compile("preferred_username=([\\w- ]+)");
m = p.matcher(userInfo);
if (m.find()) {
this.username = m.group(1);