diff options
Diffstat (limited to 'httemplate/pref/pref.html')
-rw-r--r-- | httemplate/pref/pref.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 56fde6d44..5f68d3e46 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -29,6 +29,18 @@ </TABLE> <BR> + <FONT CLASS="fsinnerbox-title"><% emt('Google Authenticator') %></FONT> + <TABLE CLASS="fsinnerbox"> + <TR> +% if ( $curuser->totp_secret32 ) { + <TD><IMG SRC="<% $curuser->totp_qr_code_url %>"</IMG></TD> +% } else { + <TD><A HREF="<%$p%>pref/set_totp_secret32.html">Enable</A></TD> +% } + </TR> + </TABLE> + <BR> + % } <FONT CLASS="fsinnerbox-title"><% emt("Interface") %></FONT> |