1
kevinv
Auto-login now included?
  • 2003/11/8 20:08

  • kevinv

  • Friend of XOOPS

  • Posts: 44

  • Since: 2003/1/4 1


I just installed 2.05 for a new site last night and when applying one of the auto-login hacks from the forum I noticed that there seems to be an auto-login already included, just commented out.

I uncommented all the sections that apply to the auto-login and it seems to work fine (minimal testing so far).

I assume this is a use at my own risk feature, but are there any major bugs with the included code?

2
gruessle
Re: Auto-login now included?
  • 2003/11/8 20:15

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Can you explain where and what you have done?

3
kevinv
Re: Auto-login now included?
  • 2003/11/8 20:21

  • kevinv

  • Friend of XOOPS

  • Posts: 44

  • Since: 2003/1/4 1


I edited each of the following files:

include/common.php
include/checklogin.php
user.php

modules/system/language/english/blocks.php
modules/system/blocks/system_blocks.php

In there search for 'auto' or 'rememberme' and it should jump to the commented out areas that handle auto-logins.

Then I duplicated the default template set, and edited the system_block_login.html template. It has a commented out check box to enable auto-login.

4
gstarrett
Re: Auto-login now included?
  • 2003/11/8 20:22

  • gstarrett

  • Friend of XOOPS

  • Posts: 174

  • Since: 2002/3/12


I think that's the one Luxus had me post to the XoopsGallery site, with the "remember me" box. He explained the core team added it but wanted it to be an option, something like that.

I reviewed the wiki he pointed me to and indeed, this is the one.
http://wiki.xoops.org/wakka.php?wakka=XoopsAutoLoginHack


5
kevinv
Re: Auto-login now included?
  • 2003/11/8 20:25

  • kevinv

  • Friend of XOOPS

  • Posts: 44

  • Since: 2003/1/4 1


Yep, that's it. Although I modified the expiration time to a year from login time, instead of basing it on the cookie session time.

6
gruessle
Re: Auto-login now included?
  • 2003/11/8 20:31

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Why did you guys make this an option?
It is an option by it self to select or not to select to be remembered.


7
kevinv
Re: Auto-login now included?
  • 2003/11/10 2:25

  • kevinv

  • Friend of XOOPS

  • Posts: 44

  • Since: 2003/1/4 1


I can't speak to why they made it an option, but it is frequently requested so I guess that's why the code is in there.

It isn't an option you can turn on during the install, you have to go edit the code itself to turn it on. My guess is they did this to force people to consider the security repurcusions of enabling this.

If turned on correctly, users can select if they want a password remembered or not, it is not automatic.

Login

Who's Online

243 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits