mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Fix registrar area login URL
This commit is contained in:
parent
bf33565d0e
commit
8606775035
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@ Rails.application.routes.draw do
|
|||
namespace :registrar do
|
||||
root 'dashboard#show'
|
||||
|
||||
devise_for :users, path: '', path_names: { sign_in: 'login', sign_out: 'logout' },
|
||||
# /registrar/sessions path is hardcoded in Apache config for certificate-based authentication
|
||||
# See https://github.com/internetee/registry/blob/master/README.md#installation
|
||||
devise_for :users, path: 'sessions', path_names: { sign_in: 'login', sign_out: 'logout' },
|
||||
class_name: 'ApiUser'
|
||||
devise_scope :registrar_user do
|
||||
get 'login/mid' => 'sessions#login_mid'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue