developer console fixes

This commit is contained in:
Alex Turchyn committed 2023-08-08 23:28:26 +03:00
1 parent 644b142798
commit e75e7b18b4
8 files changed
+19 -12

No files matched your search

@@ -3,7 +3,7 @@
class ConsoleRedirectController < ApplicationController
def index
auth = JsonWebToken.encode(uuid: current_user.uuid,
action: :sign_in,
scope: :console,
exp: 1.minute.from_now.to_i)
redirect_to("#{Docuseal::CONSOLE_URL}?#{{ auth: }.to_query}", allow_other_host: true)