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
|
||||
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: {
|
||||
|
|
Loading…
Add table
Reference in a new issue