mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
handle 2fa email bounce
This commit is contained in:
1 parent
e316d2006f
commit
9ad281d457
7 files changed
+84
No files matched your search
@@ -87,6 +87,10 @@ class StartFormResubmitController < ApplicationController
|
||||
end
|
||||
rescue Submitters::StartForm::NotSaved
|
||||
render 'start_form/show', status: :unprocessable_content
|
||||
rescue Submitters::BouncedEmail => e
|
||||
@error_message = e.message
|
||||
|
||||
render 'start_form/error', status: :unprocessable_content
|
||||
rescue Submitters::UnableToSendCode, Submitters::InvalidOtp => e
|
||||
flash.now[:alert] = e.message
|
||||
|
||||
|
||||
Reference in new issue
Block a user