Forums | Mahara Community

Developers /
Disable confirmation sytem


anonymous profile picture
Account deleted
Posts: 10

17 September 2009, 4:03

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
Account deleted
Posts: 1643

17 September 2009, 17:08

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
Account deleted
Posts: 10

17 September 2009, 18:20

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