about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2019-04-08 14:55:38 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-04-08 07:55:38 +0200
commita4d5e153271b58b5f3fc86a6205fad5236aaf039 (patch)
treefbe1640ba109c75ffe97262f18b0a0a0c2762888 /app
parent08ba69b53869256098d09dacdced2b3d1c500471 (diff)
Fix config serializer regex (#10487)
Diffstat (limited to 'app')
-rw-r--r--app/lib/proof_provider/keybase/config_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/proof_provider/keybase/config_serializer.rb b/app/lib/proof_provider/keybase/config_serializer.rb
index 5241d201f..2840f1823 100644
--- a/app/lib/proof_provider/keybase/config_serializer.rb
+++ b/app/lib/proof_provider/keybase/config_serializer.rb
@@ -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