[ic] No message after login

Davor Ocelic docelic at mail.inet.hr
Tue Aug 2 09:23:10 EDT 2005


On Tue, 02 Aug 2005 15:02:36 +0200
Joachim Leidinger <info at ebusiness-leidinger.de> wrote:

> Hi List,
> 
> after building a catalogue from scratch. I can log in with success! But 
> after typing wrong username oder password, i get no message about the 
> cause. Allways the same message like "Not logged in.".

Hallo Joachim,

This is the setup that works in my custom catalog (some words
are not in English but the context is clear).

If I type in the wrong password, I get a proper message
"Invalid username or password".

Hope it helps:


[if session failure]
    <br><br>
    <B>[L][calc] delete $Session->{failure}[/calc][/L]</b>
    <br>
[/if]

[set mv_no_cache]1[/set]

[set New Account]
mv_nextpage=adm/index
[set new]1[/set]
[/set]

[tmp cookie_username][read-cookie MV_USERNAME][/tmp]


[if !session logged_in]
<div class="oneThird">
<FORM ACTION="[process secure=1]" METHOD=POST>

    <INPUT TYPE='hidden' NAME='mv_todo'  VALUE='return'>
    <INPUT TYPE='hidden' NAME='mv_click' VALUE='Login'>
    <INPUT TYPE='hidden' NAME='mv_failpage' VALUE="adm/index">
    <INPUT TYPE='hidden' NAME='mv_successpage' VALUE="adm/index">
    <input type='hidden' name='mv_session_id' value="[data session id]">
    <p>
        [L]Korisnièko ime[/L]<br>
        <INPUT NAME=mv_username VALUE="[scratch cookie_username]">
    </p>
        [L]©ifra[/L]<br>
        <INPUT TYPE=password NAME=mv_password VALUE="">
    <p>
        <input type=submit value="[L]Log In[/L]">
    </p>

    [comment] New Account creation not possible by users.
    <input type="submit" NAME="mv_click" value="New Account">
    [/comment]

    [if config CookieLogin]
    <p>
        <INPUT TYPE=hidden NAME=mv_cookie_password VALUE=0>
        <INPUT TYPE=checkbox NAME=mv_cookie_password VALUE=1 [if scratch cookie_username]CHECKED[/if]>
    Automatsko logiranje (zahtjeva cookie)
    </p>
    [/if]
</form>
</div>
[/if]
</div>




More information about the interchange-users mailing list