From 48ad971af1ac6927613def67b6f1713003cec516 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 10 Aug 2018 13:25:18 +0300 Subject: [PATCH] Add clarifying comment --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 131398421..1ccbe1547 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -111,6 +111,8 @@ Rails.application.routes.draw do # /registrar/sessions path is hardcoded in Apache config for certificate-based authentication # See https://github.com/internetee/registry/blob/master/README.md#installation + # Client certificate is asked only on login form submission, therefore the path must be + # different from the one in `new_registrar_user_session` route post 'sessions', to: 'registrar/sessions#create', as: :registrar_user_session delete 'sign_out', to: 'registrar/sessions#destroy', as: :destroy_registrar_user_session