mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Allow logging in with only username
This commit is contained in:
parent
34a1bde3e4
commit
316f9376fe
3 changed files with 15 additions and 4 deletions
|
@ -3,6 +3,7 @@ require 'epp_constraint'
|
|||
Rails.application.routes.draw do
|
||||
namespace(:epp, defaults: { format: :xml }) do
|
||||
match 'session/:action', controller: 'sessions', via: :all
|
||||
match 'session/pki/:action', controller: 'sessions', via: :all
|
||||
|
||||
post 'command/:action', controller: 'domains', constraints: EppConstraint.new(:domain)
|
||||
post 'command/:action', controller: 'contacts', constraints: EppConstraint.new(:contact)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue