mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Set OmniAuth on failure config
This commit is contained in:
parent
d256aa357e
commit
227c2f100d
9 changed files with 64 additions and 60 deletions
|
@ -2,6 +2,8 @@ require 'tampering_detected'
|
|||
|
||||
class Registrar
|
||||
class TaraController < ApplicationController
|
||||
skip_authorization_check
|
||||
|
||||
rescue_from Errors::TamperingDetected do
|
||||
redirect_to root_url, alert: t('auth.tara.tampering')
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue