mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Redirect to messages after sign in in registrar
This commit is contained in:
parent
b0fa5f18e2
commit
616bc95f48
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ class Registrar::SessionsController < SessionsController
|
|||
sign_in @user
|
||||
flash[:notice] = t('welcome')
|
||||
flash.keep(:notice)
|
||||
render js: "window.location = '#{registrar_invoices_path}'"
|
||||
render js: "window.location = '#{registrar_root_path}'"
|
||||
when 'NOT_VALID'
|
||||
render json: { message: t('user_signature_is_invalid') }, status: :bad_request
|
||||
when 'EXPIRED_TRANSACTION'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue