@bananacool467/authtics 1.0.42 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -120,7 +120,10 @@ exports.authtics = {
|
|
|
120
120
|
next();
|
|
121
121
|
}
|
|
122
122
|
else if (req.path == '/api/authtics-integration/login') {
|
|
123
|
-
|
|
123
|
+
var search;
|
|
124
|
+
if (req.body.search) {
|
|
125
|
+
search = req.body.search;
|
|
126
|
+
}
|
|
124
127
|
res.status(200).json({ redirect: ("https://eb29e77b-9bd2-4e3b-9469-81d3af2a8fbe-00-1ag45w1mgbsv1.picard.replit.dev/login?client_id=" + clientId + "&redirect=" + (search.replace("&", "%26"))) });
|
|
125
128
|
next();
|
|
126
129
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bananacool467/authtics",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.44",
|
|
4
4
|
"description": "Use Authtics (An Auth service) to add accounts to your site like Auth0! (This is currently underdevelopment. Issues are expected.)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|