mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
update rails
This commit is contained in:
1 parent
0cb6b0ae12
commit
fcdc44ddbe
26 files changed
+149
-141
No files matched your search
@@ -16,7 +16,7 @@ class SessionsController < Devise::SessionsController
|
||||
end
|
||||
|
||||
if User.exists?(email:, otp_required_for_login: true) && sign_in_params[:otp_attempt].blank?
|
||||
return render :otp, locals: { resource: User.new(sign_in_params) }, status: :unprocessable_entity
|
||||
return render :otp, locals: { resource: User.new(sign_in_params) }, status: :unprocessable_content
|
||||
end
|
||||
|
||||
super
|
||||
|
||||
Reference in new issue
Block a user