• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] CodeIgniter 3.0.6 Crypto doesn't work?

#1
Hi,

if you use the crypto SHA1 attention to the confirmation line, place the code | sha1 before the function matches [xxx] if the code does not work ???

codeIgniter 3.0.6 http://bforbyoos.com application BforBYOOS

` //if this is a new account require a password, or if they have entered either a password or a password confirmation
if ($this->input->post('password') != '' || $this->input->post('confirm') != '' || !$id)
{

       $this->form_validation->set_rules('password', 'lang:password', 'required|min_length[6]|sha1');

       $this->form_validation->set_rules('confirm', 'lang:confirm_password', 'required|sha1|matches[password]');
   }`

P.S updated codeigniter 3.0.6 modification is correct. the 26 march 2016

Gabriel BYOOS
Reply


Messages In This Thread
[split] CodeIgniter 3.0.6 Crypto doesn't work? - by BYOOS - 03-26-2016, 11:08 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.