mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Rename error message
This commit is contained in:
parent
8371dcf46e
commit
b39c3ab262
5 changed files with 6 additions and 8 deletions
|
@ -13,7 +13,7 @@ class RegistrarController < ApplicationController
|
|||
def check_ip
|
||||
return unless current_user
|
||||
return if current_user.registrar.registrar_ip_white?(request.ip)
|
||||
flash[:alert] = t('ip_is_not_whitelisted')
|
||||
flash[:alert] = t('access_denied')
|
||||
sign_out(current_user)
|
||||
redirect_to registrar_login_path and return
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue