Fix config serializer regex (#10487)
parent
01f46add16
commit
21193ed31e
|
@ -34,7 +34,7 @@ class ProofProvider::Keybase::ConfigSerializer < ActiveModel::Serializer
|
||||||
end
|
end
|
||||||
|
|
||||||
def username
|
def username
|
||||||
{ min: 1, max: 30, re: '[a-z0-9_]+([a-z0-9_\.-]+[a-z0-9_]+)?' }
|
{ min: 1, max: 30, re: '[a-z0-9_]+([a-z0-9_.-]+[a-z0-9_]+)?' }
|
||||||
end
|
end
|
||||||
|
|
||||||
def prefill_url
|
def prefill_url
|
||||||
|
|
Loading…
Reference in New Issue