rbCAS / CASino

CASino is a Ruby-based Single Sign-On solution supporting the CAS standard
MIT License
331 stars 189 forks source link

QR Code Generator Not Working #111

Closed dhanson358 closed 9 years ago

dhanson358 commented 9 years ago

Installed a clean copy of CASino. Hooks up fine and let's me login, but when I try to enable two-factor authentication, I get the following error:

ActionView::Template::Error (code length overflow. (1052>864)):
    11:         <%= t('two_factor_authenticators.instructions') %>
    12:       </p>
    13:       <div id="qr-code">
    14:         <img src="<%= otp_qr_code_data_url(@two_factor_authenticator) %>" height="250" width="250"><br />
    15:       </div>
    16:       <p id="secret">
    17:         <%= t('two_factor_authenticators.secret') %>:
pencil commented 9 years ago

Thank you. Fixed in CASino 4.0.1.

dhanson358 commented 9 years ago

Works great now, thanks very much!