mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 13:39:08 +01:00
herr inspektor, bei allem respekt, gusch herst
This commit is contained in:
parent
5cee6e3e3c
commit
076f71860f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue