Fix config serializer regex (#10487)

This commit is contained in:
Takeshi Umeda authored and Eugen Rochko committed 2019-04-08 07:55:38 +02:00
1 parent 08ba69b538
commit a4d5e15327
1 file changed
+1 -1
@@ -34,7 +34,7 @@ class ProofProvider::Keybase::ConfigSerializer < ActiveModel::Serializer
end
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
def prefill_url