Skip to content
Snippets Groups Projects
Commit 12a0e428 authored by Nathaniel Kofalt's avatar Nathaniel Kofalt
Browse files

Remove invalid regex on user ID

parent b78bfcd3
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ routing_regexes = {
'sid': '[0-9a-z_]{0,24}',
# User ID: any length, [0-9a-z.@_-]
'uid': '[0-9a-z.@_-]*',
'uid': '[0-9a-zA-Z.@_-]*',
# Container name
'cname': 'projects|sessions|acquisitions|collections',
......
......@@ -2,9 +2,7 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"_id": {
"maxLength": 64,
"minLength": 2,
"pattern": "^[0-9a-z.@_-]*$",
"format": "email",
"title": "ID",
"type": "string"
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment