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
54a918d9
Commit
54a918d9
authored
Feb 06, 2019
by
Roger Rüttimann
Committed by
Roger Meier
Jun 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first try: fix mysql problem (not all users found)
parent
34a03d90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/models/group.rb
app/models/group.rb
+1
-1
No files found.
app/models/group.rb
View file @
54a918d9
...
...
@@ -423,7 +423,7 @@ class Group < Namespace
def
update_two_factor_requirement
return
unless
saved_change_to_require_two_factor_authentication?
||
saved_change_to_two_factor_grace_period?
User
.
from_union
([
users_with_descendants
,
project_users_with_descendants
]).
find_each
(
&
:update_two_factor_requirement
)
[
users_with_descendants
,
project_users_with_descendants
].
each
{
|
set
|
set
.
find_each
(
&
:update_two_factor_requirement
)}
end
def
path_changed_hook
...
...
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