mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Rename access denied message #2713
This commit is contained in:
parent
a4ccc5749e
commit
e3bce2325e
3 changed files with 2 additions and 4 deletions
|
@ -26,7 +26,7 @@ class RegistrarController < ApplicationController
|
|||
end
|
||||
|
||||
return if riw && aiw
|
||||
flash[:alert] = t('access_denied')
|
||||
flash[:alert] = t('ip_is_not_whitelisted')
|
||||
sign_out(current_user)
|
||||
redirect_to registrar_login_path and return
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue