Zen Cart Logo
Forums / Basic Configuration / How to swith off the securityToken?

How to swith off the securityToken?

Locked

Views: 1,420

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
25 Sep 2008, 1:21 PM
#1
der_hund avatar

der_hund

New Zenner

Join Date:
Aug 2008
Posts:
4
Plugin Contributions:
0

How to swith off the securityToken?

How to swith off the securityToken?
I am trying make the individual form. And I faced the problem. I do not whant have this.
Or how I can generate this securityToken informatin?
What I have to include or what?

26 Sep 2008, 9:02 AM
#2
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,868
Plugin Contributions:
3

Re: How to swith off the securityToken?

Hi,

Not sure if I understand your question fully.
Generally if you are creating your own form for a new page you do not need to worry at all about the security token.

The only time you need it, is if you are writing a template for the login page. If this is the case, you must use the security token.

However its pretty simple to do. All you need is a hidden input inside your login form

<?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>