mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Redirect to registrar after registrar login
This commit is contained in:
parent
e72bb0be54
commit
a91b620419
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class Registrar::SessionsController < ::SessionsController
|
||||||
|
|
||||||
if @user
|
if @user
|
||||||
sign_in(@user, event: :authentication)
|
sign_in(@user, event: :authentication)
|
||||||
redirect_to registrant_root_url
|
redirect_to registrar_root_url
|
||||||
else
|
else
|
||||||
flash[:alert] = t('no_such_user')
|
flash[:alert] = t('no_such_user')
|
||||||
redirect_to registrar_login_url
|
redirect_to registrar_login_url
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue