add option for 2fa

This commit is contained in:
deepend 2020-04-15 15:46:55 -06:00
parent 9fe4930e46
commit 03e837bc89
1 changed files with 14 additions and 1 deletions

View File

@ -114,9 +114,22 @@ else
end
puts
# pronouns
# 2fa
sep
puts "step 6:"
puts " tilde.club supports two factor authentication."
if prompt.yes?("would you like to set up 2fa now?")
system "setup-2fa"
else
puts " if you change your mind or need to make changes you can run"
puts " the 'setup-2fa' command"
puts " for additional info, see the wiki: https://tilde.club/wiki/2fa.html"
end
puts
# pronouns
sep
puts "step 7:"
pronouns = prompt.ask(" what are your preferred pronouns?")
puts " saving your pronouns to your ~/.pronouns file."
puts " feel free to update it as needed!"