1 <& /elements/header.html, mt('Google Authenticator for [_1]', $FS::CurrentUser::CurrentUser->username) &>
3 Scan this code with the Google Authenticator application on your phone.
6 <IMG SRC="<% $access_user->totp_qr_code_url %>"></IMG>
9 Future logins will require a 6-digit code generated by the application.
11 <& /elements/footer.html &>
14 my $access_user = $FS::CurrentUser::CurrentUser;
16 my $error = $access_user->set_totp_secret32 unless length($access_user->totp_secret32);
17 die $error if $error; #better error handling for this "shouldn't happen" case?