mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
fix(user): set ActivityPub users to ProhibitLogin (#10434)
* sets all cached ActivityPub users to ProhibitLogin * creates a new UserType to uniquely identify users from ActivityPub This has the side effect that ActivityPub users will no longer be listed in the admin view. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10434 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: famfo <famfo@famfo.xyz> Co-committed-by: famfo <famfo@famfo.xyz>
This commit is contained in:
parent
cdc27b0d62
commit
e7f5c492f3
7 changed files with 122 additions and 22 deletions
|
|
@ -1571,13 +1571,13 @@
|
|||
email: f73240e82-c061-41ef-b7d6-4376cb6f2e1c@example.com
|
||||
keep_email_private: false
|
||||
email_notifications_preference: enabled
|
||||
passwd: ZogKvWdyEx:password
|
||||
passwd_hash_algo: dummy
|
||||
passwd: ""
|
||||
passwd_hash_algo: ""
|
||||
must_change_password: false
|
||||
login_source: 0
|
||||
login_name: federated-example.net
|
||||
type: 5
|
||||
salt: ZogKvWdyEx
|
||||
type: 6
|
||||
salt: ""
|
||||
max_repo_creation: -1
|
||||
is_active: false
|
||||
is_admin: false
|
||||
|
|
@ -1585,7 +1585,7 @@
|
|||
allow_git_hook: false
|
||||
allow_import_local: false
|
||||
allow_create_organization: false
|
||||
prohibit_login: false
|
||||
prohibit_login: true
|
||||
avatar: ""
|
||||
avatar_email: f73240e82-c061-41ef-b7d6-4376cb6f2e1c@example.com
|
||||
use_custom_avatar: false
|
||||
|
|
@ -1600,3 +1600,41 @@
|
|||
theme: ""
|
||||
keep_activity_private: false
|
||||
created_unix: 1759086716
|
||||
|
||||
-
|
||||
id: 43
|
||||
lower_name: imported
|
||||
name: imported
|
||||
full_name: imported
|
||||
email: imported@deprecated-forge.example.org
|
||||
keep_email_private: false
|
||||
email_notifications_preference: enabled
|
||||
passwd: ZogKvWdyEx:password
|
||||
passwd_hash_algo: dummy
|
||||
must_change_password: false
|
||||
login_source: 0
|
||||
login_name: imported
|
||||
type: 5
|
||||
salt: ZogKvWdyEx
|
||||
max_repo_creation: -1
|
||||
is_active: false
|
||||
is_admin: false
|
||||
is_restricted: false
|
||||
allow_git_hook: false
|
||||
allow_import_local: false
|
||||
allow_create_organization: false
|
||||
prohibit_login: true
|
||||
avatar: ""
|
||||
avatar_email: imported@deprecated-forge.example.org
|
||||
use_custom_avatar: false
|
||||
num_followers: 0
|
||||
num_following: 0
|
||||
num_stars: 0
|
||||
num_repos: 0
|
||||
num_teams: 0
|
||||
num_members: 0
|
||||
visibility: 0
|
||||
repo_admin_change_team_access: false
|
||||
theme: ""
|
||||
keep_activity_private: false
|
||||
created_unix: 1765818288
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue