mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 15:42:32 -05:00
improve user password reset
This commit is contained in:
1 parent
aeea619059
commit
f7be74eb73
9 files changed
+110
-12
No files matched your search
@@ -1,6 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class PasswordsController < Devise::PasswordsController
|
||||
# rubocop:disable Rails/LexicallyScopedActionFilter
|
||||
skip_before_action :require_no_authentication, only: %i[edit update]
|
||||
# rubocop:enable Rails/LexicallyScopedActionFilter
|
||||
|
||||
class Current < ActiveSupport::CurrentAttributes
|
||||
attribute :user
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user