dreamhunter2333 / cloudflare_temp_email

CloudFlare free temp domain email 免费收发 临时域名邮箱 支持附件 IMAP SMTP TelegramBot
https://mail.awsl.uk
MIT License
2.1k stars 790 forks source link

admin 管理页面一直提示 401 #287

Closed rational-stars closed 4 months ago

rational-stars commented 4 months ago
image

先说一下 这两个画框的我是没配置的 原谅我这么多问题 包容一下哈 感谢

image

这是我的配置截图
https://mail-air.pages.dev/admin 上面是我的前端 web 地址

image image image

还有我不是开启了 KV 嘛 ,在页面上找不到注册按钮

邮箱地址凭据 没搞懂是啥

image
dreamhunter2333 commented 4 months ago

admin passwords 是个字符串列表,可以参考文档的例子

dreamhunter2333 commented 4 months ago

配置文件中允许用户创建邮箱即可允许创建,用户登录可以在 admin 用户页面配置 https://temp-mail-docs.awsl.uk/zh/guide/cli/worker.html#%E4%BF%AE%E6%94%B9-wrangler-toml-%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6

rational-stars commented 4 months ago

配置文件中很荣幸能够创建邮箱即可允许创建,用户登录可以在管理员用户页面配置 https://temp-mail-docs.awsl.uk/zh/guide/cli/worker.html#%E4%BF%AE%E6%94%B9-wrangler-toml-%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6 好难啊 手打的数组加双引号字符串也用了 单引号字符串也用了 文档里的也复制了 不用数组的也试了 各种组合我都试完了 要么是 401 要是 500 我该怎么办 是因为我没有配置 DKIM 还是说密码有什么其他要求 6 位数的我也设置了也没用 还是说 填密码的时候 需要什么格式 填密码的时候 带引号的我也试了 不带引号的我也试了

image

输入密码 ["rational-stars.top"]和"rational-stars.top" 是 401 输入 rational-stars.top 是 500 我迷茫了 这是我地址 https://mail.rational-stars.top/admin

rational-stars commented 4 months ago

六一快乐 抽时间回就行

dreamhunter2333 commented 4 months ago

rational-stars.top

密码看起来已经认证成功了,是不是没绑定 D1 数据库,或者名字不是 DB

rational-stars commented 4 months ago

rational-stars.top

密码看起来已经认证成功了,是不是没绑定 D1 数据库,或者名字不是 DB 是数据库和 KV 名字的问题 不好意思 麻烦了 非常感谢 六一快乐

image
dreamhunter2333 commented 4 months ago

rational-stars.top

密码看起来已经认证成功了,是不是没绑定 D1 数据库,或者名字不是 DB

是数据库和 KV 名字的问题 不好意思 麻烦了 非常感谢 六一快乐

image

变量名称可以参考 cli 部署 worker 的部分