Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
1f47c697
Unverified
Commit
1f47c697
authored
6 years ago
by
Jan-Christoph Borchardt
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation link and settings-hint to 2FA settings
Signed-off-by:
Jan-Christoph Borchardt
<
hey@jancborchardt.net
>
parent
cb487efa
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
settings/css/settings.scss
+5
-1
5 additions, 1 deletion
settings/css/settings.scss
settings/templates/settings/personal/security.php
+4
-0
4 additions, 0 deletions
settings/templates/settings/personal/security.php
with
9 additions
and
1 deletion
settings/css/settings.scss
+
5
−
1
View file @
1f47c697
...
...
@@ -1239,9 +1239,13 @@ table.grid td.date {
.icon-info
{
padding
:
11px
20px
;
vertical-align
:
super
;
opacity
:
.5
;
}
#shareAPI
h2
,
#encryptionAPI
h2
,
#mail_general_settings
h2
{
#two-factor-auth
h2
,
#shareAPI
h2
,
#encryptionAPI
h2
,
#mail_general_settings
h2
{
display
:
inline-block
;
}
...
...
This diff is collapsed.
Click to expand it.
settings/templates/settings/personal/security.php
+
4
−
0
View file @
1f47c697
...
...
@@ -65,6 +65,10 @@ if($_['passwordChangeSupported']) {
<div
id=
"two-factor-auth"
class=
"section"
>
<h2>
<?php
p
(
$l
->
t
(
'Two-Factor Authentication'
));
?>
</h2>
<a
target=
"_blank"
rel=
"noreferrer noopener"
class=
"icon-info"
title=
"
<?php
p
(
$l
->
t
(
'Open documentation'
));
?>
"
href=
"
<?php
p
(
link_to_docs
(
'user-2fa'
));
?>
"
></a>
<p
class=
"settings-hint"
>
<?php
p
(
$l
->
t
(
'Use a second factor besides your password to increase security for your account.'
));
?>
</p>
<ul>
<?php
foreach
(
$_
[
'twoFactorProviderData'
][
'providers'
]
as
$data
)
{
?>
<li>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment