remove settings.dashboardOrigin
This commit is contained in:
+2
-2
@@ -87,7 +87,7 @@ async function clientsGet(id) {
|
||||
application_type: 'web',
|
||||
response_types: ['code', 'code token'],
|
||||
grant_types: ['authorization_code', 'implicit'],
|
||||
loginRedirectUri: settings.dashboardOrigin() + '/authcallback.html'
|
||||
loginRedirectUri: `https://${settings.dashboardFqdn()}/authcallback.html`
|
||||
};
|
||||
} else if (id === DEV_CLIENT_ID) {
|
||||
return {
|
||||
@@ -667,7 +667,7 @@ async function findAccount(ctx, id) {
|
||||
|
||||
async function renderError(ctx, out, error) {
|
||||
const data = {
|
||||
dashboardOrigin: settings.dashboardOrigin(),
|
||||
dashboardOrigin: `https://${settings.dashboardFqdn()}`,
|
||||
errorMessage: error.error_description || error.error_detail || 'Unknown error'
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user