ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Front-end member login loop

August 05, 2013 7:19am

Subscribe [1]
  • #1 / Aug 05, 2013 7:19am

    zizther

    228 posts

    I am running EE 2.6.1 and User 3.4.4.

    I have a front-end login form using {exp:member:login_form}. When i try to login it refreshes but doesn’t log me in.
    If i login via the control panel i can then access the front-end as it has logged me in.

    This issue is present with User and native EE login templates, I have tried clearing my cookies.

    I don’t know if this is to do with session cookies. I have tested with a different cookie prefix and clearing my cookies. When i login via the control panel i get the usual cookies being added, on the front-end i get nothing.

    I can’t login in any browser. This issue is present on my local machine and the dev server.
    I have played around with the localization setting in EE and tested different things with no luck.

    I have tried this fix, but it didn’t fix it :: https://support.ellislab.com/bugs/detail/19378

    I don’t know if the issue is related to http://ellislab.com/forums/viewthread/219020/


    My login code is ::

    {exp:member:login_form
        return="dashboard"
    }                    
        <label for="username">Your email:</label>
        <input id="username" type="text" name="username">
                            
        <label for="password">Your password:</label>
        <input id="password" type="password" name="password">
                        
        {if auto_login}
            <div class="row">
                <input id="auto_login" type="checkbox" name="auto_login" value="1">
                <label class="inline" for="auto_login">Auto-login on future visits?</label>
            </div><!-- / .row -->
        {/if}
                        
        <input class="btn" type="submit" name="submit" value="Login">
    {/exp:member:login_form}


    This is the code i have on the dashboard template which the login form goes to once logged in. Although the login form goes to the dashboard it doesn’t actually log me in and because of the the logged_out conditional is true so show a login message on the dashboard template/page.

    {if logged_out}
            
        {embed="u_inc/.login"}
                        
    {if:else}
    
        {embed='dash_inc/.admin_dash'}
                            
    {/if}


    Any help would be appreciated.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases