Welcome Guest, Not a member yet? Register   Sign In
[split] CodeIgniter 3.0.6 Crypto doesn't work?
#1

(This post was last modified: 03-26-2016, 02:28 PM by ciadmin.)

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



Theme © iAndrew 2016 - Forum software by © MyBB