1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

Update app-03-visitor.patch

This commit is contained in:
Limezy 2022-09-17 01:00:33 +07:00
parent c27db6dc9d
commit e1e648452b

View file

@ -1,6 +1,6 @@
diff --git a/server/routes/auth/providers/req.ts b/server/routes/auth/providers/req.ts
new file mode 100644
index 00000000..1c954d24
index 00000000..be344d2e
--- /dev/null
+++ b/server/routes/auth/providers/req.ts
@@ -0,0 +1,62 @@
@ -29,8 +29,8 @@ index 00000000..1c954d24
+ const domain = "domain.tld";
+ const subdomain = domain.split(".")[0];
+ const teamName = capitalize(subdomain);
+ const name = "Visitor";
+ const email = "visitor@domain.tld";
+ const name = "visiteur";
+ const email = "visiteur@anthropologiebiblique.fr";
+ const result = await accountProvisioner({
+ ip: req.ip,
+ team: {