%
# Copyright (C) 2012 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see
<%= t('details.mfa_required', "You are required to set up multi-factor authentication.") %>
<% end %><%= mt('details.mfa_enrollment', <<-BODY, :secret_key => session[:pending_otp_secret_key], :iphone_url => 'http://itunes.apple.com/us/app/google-authenticator/id388497605', :android_url => 'https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2') Multi-factor authentication increases security by requiring that you have something in your physical possession, in addition to knowing your password, in order to log in to Canvas. This can be a device that can generate verification codes, or a phone that can receive text messages. The Google Authenticator app for [iPhone](%{iphone_url}) or [Android](%{android_url}) can be configured by scanning the QR Code below. Other tokens can be configured by entering the secret key **%{secret_key}**. Once you have configured multi-factor authentication, it is recommended that you go to your profile page and print out a set of back-up codes, in case your normal multi-factor device is unavailable. BODY %>
<%= t('details.otp_sent_to_phone', "A verification code has been sent to your phone. Please enter it here.") %>
<%= t('details.otp_on_device', "Please enter the verification code shown by your token.") %>