mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-25 06:36:53 -05:00
Closed
opened 2025-11-13 12:14:10 -06:00 by GiteaMirror
·
0 comments
No Branch/Tag Specified
main
refactor/batch-status-requests
dependabot/docker/docker-dependencies-6cbd4d48e0
dependabot/npm_and_yarn/npm-dependencies-8b2d4a9f3a
dependabot/go_modules/install/go-install-dependencies-3804ca7238
dev
dependabot/npm_and_yarn/body-parser-2.3.0
dependabot/npm_and_yarn/axios-1.18.0
crowdin_dev
fix/labels-dropdown-flicker
dependabot/github_actions/github-actions-dependencies-2ee11778c9
feat/remember-last-idp-on-smart-login-form
dependabot/npm_and_yarn/multi-5f1280885e
fix/non-semver-version-error
private-resource-page
resource-launcher
backhaul
exit-node-reconnect
feat/command-palette
ssh
delete-account
msg-delivery
org-only-idp
cicd
patch
site-targets-auto-login
1.21.0
1.21.0-rc.0
1.20.0
1.20.0-rc.0
1.19.4
1.19.3
1.19.2
1.19.1
1.19.0
1.19.0-rc.1
1.19.0-rc.0
1.18.4
1.18.3
1.18.2
1.18.1
1.18.0
1.18.0-rc.0
1.17.1
1.17.0
1.17.0-rc.0
1.16.2
1.16.1
1.16.0
1.16.0-rc.0
1.15.4
1.15.3
1.15.2
1.15.1
1.15.0
1.15.0-rc.0
1.14.1
1.14.0
1.14.0-rc.0
1.13.1
1.13.0
1.13.0-rc.0
1.12.3
1.12.2
1.12.1
1.12.0
1.12.0-rc.0
1.11.1
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.3
1.7.2
1.7.1
1.7.0
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
1.0.0-beta.15
1.0.0-beta.14
1.0.0-beta.13
1.0.0-beta.12
1.0.0-beta.11
1.0.0-beta.10
1.0.0-beta.9
1.0.0-beta.8
1.0.0-beta.7
1.0.0-beta.6
1.0.0-beta.5
1.0.0-beta.4
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
Labels
Clear labels
api
authentication
bug
config
dependencies
docker
documentation
enhancement
good first issue
help wanted
Improvement
Look Into
needs investigating
networking
new feature
non-critical bug
potential bug
pull-request
question
reverse proxy
Security
stale
ui
wontfix
Mirrored from GitHub Pull Request
No labels
pull-request
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/pangolin#930
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1035
Author: @jnewing
Created: 7/8/2025
Status: ✅ Merged
Merged: 7/13/2025
Merged by: @miloschwartz
Base:
dev← Head:feature-manage-2fa📝 Commits (3)
2a6298eAdmins can enable 2FA0f3a5ceAdded users 2FA statsu to userstable17b39d1Merge branch 'dev' into feature-manage-2fa📊 Changes
14 files changed (+880 additions, -8 deletions)
View changed files
➕
server/routers/auth/completeTotpSetup.ts(+179 -0)📝
server/routers/auth/index.ts(+2 -0)📝
server/routers/auth/login.ts(+13 -1)➕
server/routers/auth/setupTotpSecret.ts(+127 -0)📝
server/routers/external.ts(+9 -0)📝
server/routers/user/getOrgUser.ts(+2 -1)📝
server/routers/user/index.ts(+1 -0)📝
server/routers/user/listUsers.ts(+2 -1)➕
server/routers/user/updateUser2FA.ts(+151 -0)📝
src/app/[orgId]/settings/access/users/UsersTable.tsx(+34 -0)📝
src/app/[orgId]/settings/access/users/[userId]/access-controls/page.tsx(+63 -4)📝
src/app/[orgId]/settings/access/users/page.tsx(+2 -1)➕
src/app/auth/2fa/setup/page.tsx(+289 -0)📝
src/components/LoginForm.tsx(+6 -0)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Allows the admin to force enable / disable 2fa for users. If the admin turns on 2fa for the user the next time they login they will be told they have to enable 2fa and walked through the setup process before they can login.
Also you can see the current 2fa status (enabled | disabled) on the access control / users page.
How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.