Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
a8b9ba67
Unverified
Commit
a8b9ba67
authored
May 03, 2019
by
Igor Pečovnik
Committed by
GitHub
May 03, 2019
Browse files
Increase compatibilty
parent
67198059
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-functions
View file @
a8b9ba67
...
@@ -214,7 +214,7 @@ function display_qr_code()
...
@@ -214,7 +214,7 @@ function display_qr_code()
{
{
clear
clear
SECRET
=
$(
head
-1
/root/.google_authenticator
)
SECRET
=
$(
head
-1
/root/.google_authenticator
)
qrencode
-d
9
-8
-t
UTF8
"otpauth://totp/test?secret=
$SECRET
"
qrencode
-m
2
-d
9
-8
-t
ANSI256
"otpauth://totp/test?secret=
$SECRET
"
echo
-e
"
\n
Setting up your OTP-generator
\
echo
-e
"
\n
Setting up your OTP-generator
\
\n
Install a one-time password authenticator on your mobile device (e.g. FreeOTP) from the Android market or F-Droid.
\
\n
Install a one-time password authenticator on your mobile device (e.g. FreeOTP) from the Android market or F-Droid.
\
\n
In the application menu, click the corresponding button to create a new account and either scan the QR code or enter the secret key manually:
\
\n
In the application menu, click the corresponding button to create a new account and either scan the QR code or enter the secret key manually:
\
...
...
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