feat: Show a confirmation banner if the email is not verified (#8808)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Shivam Mishra
2024-02-03 02:01:29 +05:30
committed by GitHub
parent 07ea9694a3
commit 0c35a77d4b
11 changed files with 123 additions and 3 deletions

View File

@@ -31,6 +31,11 @@ class Api::V1::ProfilesController < Api::BaseController
head :ok
end
def resend_confirmation
@user.send_confirmation_instructions unless @user.confirmed?
head :ok
end
private
def set_user