Skip to content
Snippets Groups Projects
Unverified Commit 7e85d8d0 authored by Cedric Rochat's avatar Cedric Rochat Committed by GitHub
Browse files

Merge pull request #10 from HBPMedical/fix-regex-username

Fixed regex username / uuid
parents 6eb01aeb aefd3221
No related branches found
No related tags found
No related merge requests found
......@@ -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