herr inspektor, bei allem respekt, gusch herst
This commit is contained in:
parent
5cee6e3e3c
commit
076f71860f
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class User::RegistrationsController < Devise::RegistrationsController
|
class User::RegistrationsController < Devise::RegistrationsController
|
||||||
before_action :redirect_if_registrations_disabled!, only: %w[create new]
|
before_action :redirect_if_registrations_disabled!, only: %w[create new] # rubocop:disable Rails/LexicallyScopedActionFilter
|
||||||
|
|
||||||
def create
|
def create
|
||||||
if captcha_valid?
|
if captcha_valid?
|
||||||
|
|
Loading…
Reference in New Issue