Rename access denied message #2713

This commit is contained in:
Martin Lensment 2015-08-18 12:45:12 +03:00
parent a4ccc5749e
commit e3bce2325e
3 changed files with 2 additions and 4 deletions

View file

@ -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