improve registration and add oauth

This commit is contained in:
Alex Turchyn committed 2023-07-15 13:38:12 +03:00
1 parent f7ef99a624
commit 6f3fe1dd7b
20 files changed
+170 -23

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ class DashboardController < ApplicationController
skip_before_action :authenticate_user!, only: %i[index]
def index
return redirect_to Docuseal::PRODUCT_URL, allow_other_host: true if Docuseal.multitenant? && !signed_in?
return render 'pages/landing' unless signed_in?
templates = current_account.templates.active.preload(:author).order(id: :desc)