mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-03 22:29:39 +00:00
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@19988 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 lines
360 B
Plaintext
9 lines
360 B
Plaintext
<p>
|
|
<label> </label>
|
|
<%= image_tag RQRCode::QRCode.new(twofa_view[:provisioning_uri]).as_png(fill: ChunkyPNG::Color::TRANSPARENT, resize_exactly_to: 280, border_modules: 0).to_data_url, id: 'twofa_code' -%>
|
|
</p>
|
|
<p>
|
|
<label><%=l 'twofa__totp__label_plain_text_key' -%></label>
|
|
<code><%= twofa_view[:totp_key].scan(/.{4}/).join(' ') -%></code>
|
|
</p>
|