FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » 3.0.4RC2 scripts/forum_login.php __ses_make_sysid() broken
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
3.0.4RC2 scripts/forum_login.php __ses_make_sysid() broken [message #167300] Wed, 30 May 2012 18:46 Go to next message
gmsalex is currently offline  gmsalex
Messages: 4
Registered: May 2012
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hi all!

function __ses_make_sysid($a,$b) defined in scripts/forum_login.php and
function ses_make_sysid() defined in index.php produce different result hash that leads to unability to external login into the forum

The problem is that theese functions use a bit different keys array to generate it.
I've made a tiny patch that will make them in sync.

Thanks,
Re: 3.0.4RC2 scripts/forum_login.php __ses_make_sysid() broken [message #167303 is a reply to message #167300] Wed, 30 May 2012 22:43 Go to previous messageGo to next message
NeXuS is currently offline  NeXuS   Korea, Republic of
Messages: 121
Registered: July 2010
Location: South Korea
Karma: 5
Senior Member
Contributing Core Developer
add to buddy list
ignore all messages by this user
Thanks, I have been scratching my head for a while on this. Smile

We should really get rid of so much code replication.

[Updated on: Wed, 30 May 2012 22:48]

Report message to a moderator

Re: 3.0.4RC2 scripts/forum_login.php __ses_make_sysid() broken [message #167305 is a reply to message #167300] Thu, 31 May 2012 01:32 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Thanks! Patch was committed @ http://fudforum.svn.sourceforge.net/fudforum/?rev=5501&view=rev

Good point on code that is duplicated! I've already consolidated some into libraries, but more work is needed!
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: COPPA Date wrong
Next Topic: PDF Generation with Special characters
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Oct 17 07:41:14 EDT 2017

Total time taken to generate the page: 0.00669 seconds