GUACAMOLE-5: All strings are valid user identifiers.
This commit is contained in:
1 parent
690e8996e3
commit
3d3be46bb4
1 file changed
+8
+8
@@ -258,6 +258,14 @@ public class UserService extends ModeledDirectoryObjectService<ModeledUser, User
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isValidIdentifier(String identifier) {
|
||||||
|
|
||||||
|
// All strings are valid user identifiers
|
||||||
|
return true;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves the user corresponding to the given credentials from the
|
* Retrieves the user corresponding to the given credentials from the
|
||||||
* database. If the user account is expired, and the credentials contain
|
* database. If the user account is expired, and the credentials contain
|
||||||
|
|||||||
Reference in new issue
Block a user