Skip to content
Snippets Groups Projects
Commit aefd3221 authored by Manuel Spuhler's avatar Manuel Spuhler
Browse files

Fixed regex username / uuid

parent 6eb01aeb
No related branches found
No related tags found
1 merge request!10Fixed regex username / uuid
......@@ -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);
......
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