I am fairly new to Safecracker, so forgive me if my question is stupid. On the following [site Click][1] Here when you click on the promo materials button, a pop up window appears requiring users to login with a username and password.

I have noticed the login form is not recognising my username and password. I am currently trying to login using my super admin. is there anything i need to select in the control panel. Also looking at the code i have submitted is this the correct set up?

below is a snippet of my code


 {if logged_in}
<a href="{path="press-creative/pressKit/{segment_3}"}">Presskit</a>

<div class="tencol margin-bottom">
    <ul class="plain inset">
        <label for="name">Username</label>
        <input type="text" name="username" value="" onclick="this.value = ''" id="email">
        <input type="password" value="password" onclick="this.value = ''" type="password">

{if auto_login}
      <p><input type="checkbox" name="auto_login" value="1"> Auto-login</p>

        <button type="submit" style="margin-top: 10px;">Submit</button>


     <p><a href="{path='member/forgot_password'}">Forgot your password?</a></p>



You need to put name="password" into your form. I think that should work then.

Your Answer

