PDA

View Full Version : Security Tokens?


Reycer
03-08-2009, 01:02 PM
Everything was working fine last night, and then this morning when I get up, my email is flooded with people telling me that "Security Tokens" are missing when they try to log in. I went to my forum to log in myself, and it's doing it to me as well.

www.lacledeforum.com/forums/index.php

Try it yourself

User: temp1
Pass: 12345

How do I find out where this is coming from?

KevinL
03-08-2009, 01:05 PM
Maybe from the profile trying to change the daylight savings? I just ran into his on another board maybe 2 seconds ago haha

Reycer
03-08-2009, 01:20 PM
kinda what I was figuring, so what's the fix?

KevinL
03-08-2009, 01:30 PM
You're missing

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

In one of your templates...which one...I'm not sure to be honest.

Reycer
03-08-2009, 01:38 PM
You're missing

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

In one of your templates...which one...I'm not sure to be honest.

oh goody....you know how many templates I have....lol

KevinL
03-08-2009, 01:40 PM
Tell me about it LOL! If I find something I will post it here ;)

--------------- Added 1236523506 at 1236523506 ---------------

You might be missing this at the very bottom of your footer...


<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

Reycer
03-08-2009, 01:51 PM
Tell me about it LOL! If I find something I will post it here ;)

--------------- Added 1236523506 at 1236523506 ---------------

You might be missing this at the very bottom of your footer...


<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

no, it's there.

KevinL
03-08-2009, 01:54 PM
Here..read this thread hhaha

https://vborg.vbsupport.ru/showthread.php?t=190839

Look at Angel-Wings reply

Reycer
03-08-2009, 03:10 PM
ahh...that did it. Thanks very much. I appreciate it.

Wonder why it did it starting today.... hmm...

KevinL
03-08-2009, 03:18 PM
You're welcome.

We are supposed to switch the clocks today...well last night hahah so people with auto detect daylight savings their vb clocks switched ;)

angelpie
03-10-2009, 02:52 AM
ok i guess i dont understand???? my default is the one screwing up!

Reycer
03-11-2009, 09:36 AM
ok i guess i dont understand???? my default is the one screwing up!

My problem lied within my style. I went into Styles and Templates -----> Selected my Style -----> Selected Edit All Templates -----> and then Found the Footer Template ------>

Then I found this:

<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>

And Replaced that whole thing with:

<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="dst" />
</form>

That did it for mine.

angelpie
03-16-2009, 03:47 PM
i will try that!