mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 13:55:53 +03:00
[PR #545] [MERGED] feat: add DISABLE_ANONYMOUS_USER_CREATE_EMAIL which only allow logi… #615
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#615
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/545
Author: @dreamhunter2333
Created: 1/4/2025
Status: ✅ Merged
Merged: 1/5/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
d0c1a74feat: addDISABLE_ANONYMOUS_USER_CREATE_EMAILwhich only allow login user create email address📊 Changes
11 files changed (+28 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
frontend/src/api/index.js(+1 -0)📝
frontend/src/store/index.js(+1 -0)📝
frontend/src/views/common/Login.vue(+11 -3)📝
vitepress-docs/docs/en/cli.md(+2 -0)📝
vitepress-docs/docs/zh/guide/cli/worker.md(+2 -0)📝
worker/src/admin_api/worker_config.ts(+1 -0)📝
worker/src/commom_api.ts(+1 -0)📝
worker/src/mails_api/index.ts(+5 -0)📝
worker/src/types.d.ts(+1 -0)📝
worker/wrangler.toml.template(+2 -0)📄 Description
User description
…n user create email address
#540
PR Type
Enhancement, Documentation
Description
Add
DISABLE_ANONYMOUS_USER_CREATE_EMAILconfiguration optionUpdate frontend logic to respect new configuration
Update API endpoints to enforce new configuration
Document new configuration in CLI documentation
Changes walkthrough 📝
8 files
Add logic to conditionally show email creation tabAdd `DISABLE_ANONYMOUS_USER_CREATE_EMAIL` to worker configInclude `disableAnonymousUserCreateEmail` in open API settingsEnforce `DISABLE_ANONYMOUS_USER_CREATE_EMAIL` in new address endpointAdd `DISABLE_ANONYMOUS_USER_CREATE_EMAIL` to type definitionsFetch `disableAnonymousUserCreateEmail` setting from APIAdd `disableAnonymousUserCreateEmail` to global stateAdd `DISABLE_ANONYMOUS_USER_CREATE_EMAIL` to wrangler template3 files
Document new feature in changelogDocument `DISABLE_ANONYMOUS_USER_CREATE_EMAIL` in English CLI docsDocument `DISABLE_ANONYMOUS_USER_CREATE_EMAIL` in Chinese CLI docs🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.