[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]
    <B>[L][calc] delete $Session->{failure}[/calc][/L]</b>

[set mv_no_cache]1[/set]

[set New Account]
[set new]1[/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]">
        [L]Korisnièko ime[/L]<br>
        <INPUT NAME=mv_username VALUE="[scratch cookie_username]">
        <INPUT TYPE=password NAME=mv_password VALUE="">
        <input type=submit value="[L]Log In[/L]">

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

    [if config CookieLogin]
        <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)

More information about the interchange-users mailing list