Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

访客绑定Github #2888

Closed
4 tasks done
12189108 opened this issue Jan 3, 2023 · 1 comment
Closed
4 tasks done

访客绑定Github #2888

12189108 opened this issue Jan 3, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@12189108
Copy link

12189108 commented Jan 3, 2023

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • I'm sure I'm using the latest version

Alist Version / Alist 版本

v3.7.2

Driver used / 使用的存储驱动

Describe the bug / 问题描述

以访客登陆身份登录,进入后台界面,有绑定Github的选项,访客应不允许此操作

Reproduction / 复现链接

Logs / 日志

No response

@12189108 12189108 added the bug Something isn't working label Jan 3, 2023
@taozhiyu
Copy link

taozhiyu commented Jan 4, 2023

不过好在未登录没有权限修改

此外,在未授权的用户请求github登录时,会显示

{"code":400,"message":"The Github ID is not associated with a user: record not found","data":null}

最好应该返回登录页,并且弹窗提醒授权失败(类似于portainer)

image

最好可以删除账号密码登录的按钮,只留一个github登录按钮,如果无法登录,需要使用cli 命令 清除github信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants