mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
improve registration and add oauth
This commit is contained in:
1 parent
f7ef99a624
commit
6f3fe1dd7b
20 files changed
+170
-23
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user