私有化部署账号密码存在哪里了? #53

Closed
opened 2026-02-21 17:25:47 -05:00 by yindo · 16 comments
Owner

Originally created by @lcm1475 on GitHub (May 18, 2023).

目前好像只支持cloud的注册登录
install时候设置的账号密码是写死的吗? 如果不是写死的话 能不能开放个api出来 就可以做注册登录的逻辑了

Originally created by @lcm1475 on GitHub (May 18, 2023). 目前好像只支持cloud的注册登录 install时候设置的账号密码是写死的吗? 如果不是写死的话 能不能开放个api出来 就可以做注册登录的逻辑了
yindo added the 💪 enhancement label 2026-02-21 17:25:47 -05:00
yindo closed this issue 2026-02-21 17:25:47 -05:00
Author
Owner

@takatost commented on GitHub (May 18, 2023):

不是写死的,EDITION=SELF_HOSTED 模式是支持登录注册的

@takatost commented on GitHub (May 18, 2023): 不是写死的,EDITION=SELF_HOSTED 模式是支持登录注册的
Author
Owner

@yuhao1118 commented on GitHub (May 18, 2023):

不是写死的,EDITION=SELF_HOSTED 模式是支持登录注册的

请问这个功能有规划什么时候上线吗?

@yuhao1118 commented on GitHub (May 18, 2023): > 不是写死的,EDITION=SELF_HOSTED 模式是支持登录注册的 请问这个功能有规划什么时候上线吗?
Author
Owner

@takatost commented on GitHub (May 18, 2023):

您是说上线我们的云端版吗

@takatost commented on GitHub (May 18, 2023): 您是说上线我们的云端版吗
Author
Owner

@yuhao1118 commented on GitHub (May 18, 2023):

您是说上线我们的云端版吗

不是的。在SELF_HOSTED版私有部署时,似乎只能注册一个帐号(在访问/install的时候),install之后就没有办法注册新的帐号了(同时也不能拉人进workspace)。不知道这是bug还是产品设计逻辑就是这样?

@yuhao1118 commented on GitHub (May 18, 2023): > 您是说上线我们的云端版吗 不是的。在SELF_HOSTED版私有部署时,似乎只能注册一个帐号(在访问/install的时候),install之后就没有办法注册新的帐号了(同时也不能拉人进workspace)。不知道这是bug还是产品设计逻辑就是这样?
Author
Owner

@lcm1475 commented on GitHub (May 19, 2023):

目前打算走install的setup api方法 再继续创建其他用户 但是要修改里面的单次注册逻辑

@lcm1475 commented on GitHub (May 19, 2023): 目前打算走install的setup api方法 再继续创建其他用户 但是要修改里面的单次注册逻辑
Author
Owner

@takatost commented on GitHub (May 21, 2023):

暂未实现哈,后续补上

@takatost commented on GitHub (May 21, 2023): > 暂未实现哈,后续补上
Author
Owner

@seiriosPlus commented on GitHub (May 22, 2023):

遇到了同样的问题, 关注中.

@seiriosPlus commented on GitHub (May 22, 2023): 遇到了同样的问题, 关注中.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 21, 2023):

Close due to it's no longer active, if you have any questions, you can reopen it.

@github-actions[bot] commented on GitHub (Jun 21, 2023): Close due to it's no longer active, if you have any questions, you can reopen it.
Author
Owner

@imxieqing commented on GitHub (Apr 12, 2024):

install的邮箱密码忘掉了可咋整,服务器上哪里可以看到

@imxieqing commented on GitHub (Apr 12, 2024): install的邮箱密码忘掉了可咋整,服务器上哪里可以看到
Author
Owner

@zhilongzhang commented on GitHub (May 13, 2024):

不知道这个能不能解决你的问题,可以通过 docker命令行重置密码
docker exec -it docker-api-1 flask reset-password
其中docker-api-1 是你部署dockerapi对应的容器名称, 执行后会要求输入邮箱 然后输入两次密码即可重置

@zhilongzhang commented on GitHub (May 13, 2024): 不知道这个能不能解决你的问题,可以通过 docker命令行重置密码 `docker exec -it docker-api-1 flask reset-password ` 其中docker-api-1 是你部署dockerapi对应的容器名称, 执行后会要求输入邮箱 然后输入两次密码即可重置
Author
Owner

@tongxiaolong01 commented on GitHub (May 29, 2024):

cd api 目录,执行下面命令可以修改密码,需要记得管理员邮箱

flask reset-password 
@tongxiaolong01 commented on GitHub (May 29, 2024): cd api 目录,执行下面命令可以修改密码,需要记得管理员邮箱 ``` flask reset-password ```
Author
Owner

@DemonDamon commented on GitHub (Jul 2, 2024):

为啥我进去直接就是登录,邮箱是啥都不知道

@DemonDamon commented on GitHub (Jul 2, 2024): 为啥我进去直接就是登录,邮箱是啥都不知道
Author
Owner

@ge2001 commented on GitHub (Oct 30, 2024):

忘记管理员邮箱怎么办,要到哪里看我曾经填写的邮箱

@ge2001 commented on GitHub (Oct 30, 2024): 忘记管理员邮箱怎么办,要到哪里看我曾经填写的邮箱
Author
Owner

@Mazhenjie9 commented on GitHub (Apr 2, 2025):

怎么办,要到哪里看我曾经填写的邮箱

同问啊 头大

@Mazhenjie9 commented on GitHub (Apr 2, 2025): > 怎么办,要到哪里看我曾经填写的邮箱 同问啊 头大
Author
Owner

@ltx0633 commented on GitHub (Apr 7, 2025):

忘记管理员邮箱怎么办,要到哪里看我曾经填写的邮箱

进数据库中查看

 psql -U postgres

 \c dify;
select email from accounts;
@ltx0633 commented on GitHub (Apr 7, 2025): > 忘记管理员邮箱怎么办,要到哪里看我曾经填写的邮箱 进数据库中查看 ``` psql -U postgres \c dify; select email from accounts; ```
Author
Owner

@dsazdf312 commented on GitHub (Jun 23, 2025):

暂未实现哈,后续补上

大佬 现在多用户可以注册了吗

@dsazdf312 commented on GitHub (Jun 23, 2025): > > > > 暂未实现哈,后续补上 大佬 现在多用户可以注册了吗
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#53