mirror of
https://github.com/mastodon/mastodon.git
synced 2025-02-06 15:05:07 +00:00
Rename error class, add ::Mcaptcha
Renamed the error class and added a new include line ending with ::Mcaptcha to see if that solves the unitialized constant error Auth::CaptchaConcern::Mcaptcha since we've *definitely* included the Mcaptcha::Adapters::ViewMethods
This commit is contained in:
parent
0d1b62d35d
commit
d4d85ccbee
|
@ -2,6 +2,7 @@
|
|||
|
||||
class Auth::ConfirmationsController < Devise::ConfirmationsController
|
||||
include Auth::CaptchaConcern
|
||||
include Auth::CaptchaConcern::Mcaptcha
|
||||
|
||||
layout 'auth'
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ module Mcaptcha
|
|||
class McaptchaError < StandardError
|
||||
end
|
||||
|
||||
class VerifyError < HcaptchaError
|
||||
class VerifyError < McaptchaError
|
||||
end
|
||||
|
||||
# Gives access to the current Configuration.
|
||||
|
|
Loading…
Reference in New Issue
Block a user