You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This introduces the ability for a YeetFile instance admin to send out
invites to a list of emails with unique signup codes. These signup
codes are tied to the email they're sent to, and are removed after a
user completes registration using that email and signup code.
The invite codes are not stored in plaintext anywhere. They are hashed
with bcrypt before storing in the database, and are only included in
plaintext in the outbound email.
Enabling invite codes requires the following conditions:
- YEETFILE_ALLOW_INVITES set to 1
- YEETFILE_SERVER_PASSWORD set to a non-empty string
- YEETFILE_EMAIL_* variables set
| YEETFILE_PROFILING | Enables server profiling on http://localhost:6060| 0 |`1` to enable, `0` to disable (default) |
328
+
| YEETFILE_ALLOW_INVITES | Allows the YeetFile instance admin to send unique invite codes to email addresses -- must also set `YEETFILE_SERVER_PASSWORD` and setup outgoing email (see [Misc Environment Variables](#misc-environment-variables)) | 0 |`1` to enable, `0` to disable (default) |
0 commit comments