rbCAS / CASino

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

make it possible to disable rememberMe. #144

Open senny opened 8 years ago

senny commented 8 years ago

The remember me functionality can be disabled completely by setting:

ticket_granting_ticket:
  lifetime_long_term: -1

This does not only remove the "remember me" checkbox from the login screen but also makes the SessionsController ignore any posted rememberMe param.

I'm submitting this PR to see wether this is something that you feel should be configurable. I'd understand if that's not the case and we simply keep the patch for our fork.

Thanks for your time and a great project :yellow_heart:

pencil commented 8 years ago

Thanks! Sorry for the delay, can you please merge current master so we can merge this?

senny commented 8 years ago

@pencil rebased.