yapi icon indicating copy to clipboard operation
yapi copied to clipboard

Yapi关闭注册后,管理员不能开账号

Open Sailiy opened this issue 7 years ago • 4 comments

版本号

~ 1.8.0

什么问题

~ 为了api系统的稳定,防止被攻击,现在config里边关闭了用户注册想通过管理员开账户,但是目前不支持管理员开账号,希望增加该功能

如何复现此问题

~

什么浏览器

~

什么系统(Linux, Windows, macOS)

Sailiy avatar Jul 24 '19 09:07 Sailiy

同问,特别是部署在公网之后,如果放开注册,存在太多风险。最好关闭后可有在后台创建账号。期待下一个版本有此功能。

quanapp avatar Aug 01 '19 09:08 quanapp

@Sailiy

这个脚本可以临时用下

https://gist.github.com/caoxudong/b14c90196b56785d4e0d4f3ea5753a79

caoxudong avatar Aug 07 '19 07:08 caoxudong

同需,希望能增加此功能

xlybaba avatar Aug 15 '19 08:08 xlybaba

有没有前端的小伙伴,fork增加,然后发个地址,作者这个设计简直反人类

binwan-dev avatar Oct 31 '21 11:10 binwan-dev