Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab FOSS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab FOSS
Merge requests
!9432
Enable (and disable) more rubocops
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Enable (and disable) more rubocops
dm-meer-blauw-op-straat
into
master
Overview
55
Commits
51
Pipelines
9
Changes
27
1 unresolved thread
Hide all comments
Merged
Douwe Maan
requested to merge
dm-meer-blauw-op-straat
into
master
8 years ago
Overview
55
Commits
51
Pipelines
9
Changes
27
1 unresolved thread
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
7ea641b6
Prev
Next
Show latest version
27 files
+
36
−
38
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
27
Search (e.g. *.vue) (Ctrl+P)
7ea641b6
Enable Style/ColonMethodCall
· 7ea641b6
Douwe Maan
authored
8 years ago
app/controllers/profiles/two_factor_auths_controller.rb
+
1
−
1
Options
@@ -80,7 +80,7 @@ def skip
@@ -80,7 +80,7 @@ def skip
def
build_qr_code
def
build_qr_code
uri
=
current_user
.
otp_provisioning_uri
(
account_string
,
issuer:
issuer_host
)
uri
=
current_user
.
otp_provisioning_uri
(
account_string
,
issuer:
issuer_host
)
RQRCode
::
render_qrcode
(
uri
,
:svg
,
level: :m
,
unit:
3
)
RQRCode
.
render_qrcode
(
uri
,
:svg
,
level: :m
,
unit:
3
)
end
end
def
account_string
def
account_string
Loading