Forums | Mahara Community

Developers /
Disable confirmation sytem


anonymous profile picture
Deleted user
Posts: 10

17 September 2009, 4:03 AM

Hi all

I've decided not to use email confirmation system for a registering user for a while. Is there any quick way of changing code so that users can automatically log on after registration. 

Thanks

Giorgi 

anonymous profile picture
Deleted user
Posts: 1643

17 September 2009, 5:08 PM

Possibly - in register.php, maybe you could change the register_submit function to do the stuff that's done in the isset($key) section near the top of the file.
anonymous profile picture
Deleted user
Posts: 10

17 September 2009, 6:20 PM

Thanks Nigel

That's what I've done already :)

In  register_submit  now I just create a new user with property - Active set to 1 and it seems to work fine.

Regards

Giorgi

3 results