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:
parent
c27db6dc9d
commit
e1e648452b
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
diff --git a/server/routes/auth/providers/req.ts b/server/routes/auth/providers/req.ts
|
diff --git a/server/routes/auth/providers/req.ts b/server/routes/auth/providers/req.ts
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 00000000..1c954d24
|
index 00000000..be344d2e
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/server/routes/auth/providers/req.ts
|
+++ b/server/routes/auth/providers/req.ts
|
||||||
@@ -0,0 +1,62 @@
|
@@ -0,0 +1,62 @@
|
||||||
|
@ -29,8 +29,8 @@ index 00000000..1c954d24
|
||||||
+ const domain = "domain.tld";
|
+ const domain = "domain.tld";
|
||||||
+ const subdomain = domain.split(".")[0];
|
+ const subdomain = domain.split(".")[0];
|
||||||
+ const teamName = capitalize(subdomain);
|
+ const teamName = capitalize(subdomain);
|
||||||
+ const name = "Visitor";
|
+ const name = "visiteur";
|
||||||
+ const email = "visitor@domain.tld";
|
+ const email = "visiteur@anthropologiebiblique.fr";
|
||||||
+ const result = await accountProvisioner({
|
+ const result = await accountProvisioner({
|
||||||
+ ip: req.ip,
|
+ ip: req.ip,
|
||||||
+ team: {
|
+ team: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue