safaacar / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
0 stars 0 forks source link

CAPTCHA support for rubycas server #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have add CAPTCHA support to rubycas-server.

When user wrongly input username and password more than three times,
a picture with validation key is showed. And the user is required to
input the correct key shows in the picture.

This needs turing >= 0.0.11.

You will have to add a new column to table casserver_lt named captcha_id,

  alter table casserver_lt add column captcha_id varchar(255) default null;

Maybe some migration code should be added to models.rb for this.

The patch is for trunk version of rubycas server and I have tested with
mongrel.

Original issue reported on code.google.com by lili...@gmail.com on 13 Jul 2008 at 8:48

Attachments:

GoogleCodeExporter commented 9 years ago
Due to this bug:

  http://objectmix.com/ruby/301556-re-segmentation-fault-turing-gem-64bit-gentoo.html

You will have patch your ruby with this:

  http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/227097

This bug only happens on x86_64 systems.

Original comment by lili...@gmail.com on 13 Jul 2008 at 9:46

GoogleCodeExporter commented 9 years ago

Original comment by matt.zuk...@gmail.com on 26 Sep 2008 at 5:58

GoogleCodeExporter commented 9 years ago
This looks pretty cool. I don't think this will make it into the 0.7.0 release, 
but
I'll schedule it for 0.8.0.

Original comment by matt.zuk...@gmail.com on 26 Sep 2008 at 6:01