Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e969d83f
Commit
e969d83f
authored
Jul 27, 2020
by
Cleveland Bledsoe Jr
Committed by
Adam Hegyi
Jul 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add force-confirm details to upgrade_email_bypass.md
parent
f3caeb39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
doc/user/upgrade_email_bypass.md
doc/user/upgrade_email_bypass.md
+14
-1
No files found.
doc/user/upgrade_email_bypass.md
View file @
e969d83f
...
...
@@ -66,7 +66,7 @@ Your account has been blocked. Fatal: Could not read from remote repository
You can assure your users that they have not been
[
Blocked
](
admin_area/blocking_unblocking_users.md
)
by an administrator.
When affected users see this message, they must confirm their email address before they can commit code.
## What do I need to know as an administrator of a GitLab
Self-M
anaged Instance?
## What do I need to know as an administrator of a GitLab
self-m
anaged Instance?
You have the following options to help your users:
...
...
@@ -87,6 +87,19 @@ admin.confirmed_at = Time.zone.now
admin
.
save!
```
## How do I force-confirm all users on my self-managed instance?
If you are an administrator and would like to force-confirm all users on your system, sign in to your GitLab
instance with a
[
Rails console session
](
../administration/troubleshooting/navigating_gitlab_via_rails_console.md#starting-a-rails-console-session
)
.
Once connected, run the following commands to confirm all user accounts:
```
ruby
User
.
where
(
'LENGTH(confirmation_token) = 32'
).
where
(
confirmed_at:
nil
).
find_each
{
|
u
|
u
.
confirmed_at
=
Time
.
now
;
u
.
save
}
```
CAUTION:
**Caution:**
The command described in this section may activate users who have not properly confirmed their email addresses.
## What about LDAP users?
LDAP users should NOT be affected.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment