1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2025 Soren Stoutner <soren@stoutner.com>
#
# This file is part of Redmine Simple Captcha. <https://github.com/sorenstoutner/redmine_simple_captcha>
# See LICENSE for more information.
require_dependency 'project'
require_dependency 'principal'
require_dependency 'user'
module UserPatch
def self.included(base)
base.send(:include, InstanceMethods)
end
module InstanceMethods
def simple_captcha_answer
nil
end
end
end
User.send(:include, UserPatch)
|