Fix config serializer regex (#10487)

rebase/4.0.0rc2
Takeshi Umeda 2019-04-08 14:55:38 +09:00 committed by Eugen Rochko
parent 08ba69b538
commit a4d5e15327
1 changed files with 1 additions and 1 deletions

View File

@ -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