@saltcorn/markup
Advanced tools
Comparing version
@@ -719,4 +719,7 @@ "use strict"; | ||
const method_label = action_name.replace("Login with ", ""); | ||
const dest = form.req?.query?.dest | ||
? `?dest=${encodeURIComponent(form.req.query.dest)}` | ||
: ""; | ||
return a({ | ||
href: `/auth/login-with/${method_label}`, | ||
href: `/auth/login-with/${method_label}${dest}`, | ||
//TODO get url through form.req to reduce coupling | ||
@@ -723,0 +726,0 @@ class: [ |
{ | ||
"name": "@saltcorn/markup", | ||
"version": "1.1.3-beta.5", | ||
"version": "1.1.3-beta.6", | ||
"description": "Markup for Saltcorn, open-source no-code platform", | ||
@@ -38,3 +38,3 @@ "homepage": "https://saltcorn.com", | ||
"devDependencies": { | ||
"@saltcorn/types": "1.1.3-beta.5", | ||
"@saltcorn/types": "1.1.3-beta.6", | ||
"@types/escape-html": "^1.0.4", | ||
@@ -41,0 +41,0 @@ "@types/jest": "^29.5.14", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
280710
0.12%3648
0.08%