]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
*-login: Fix to previous commit: Default auth_user to original_user
authorTimo Sirainen <tss@iki.fi>
Tue, 14 Jan 2014 01:33:35 +0000 (03:33 +0200)
committerTimo Sirainen <tss@iki.fi>
Tue, 14 Jan 2014 01:33:35 +0000 (03:33 +0200)
src/login-common/client-common.c

index ae17b9d566ca68856f1fbcb2b1ba9482a8e1ad41..333c433635deedf9a750cc7a75dc77e8637e3aa6 100644 (file)
@@ -547,9 +547,9 @@ get_var_expand_table(struct client *client)
        if (client->virtual_auth_user != NULL)
                get_var_expand_users(tab+22, client->virtual_auth_user);
        else {
-               tab[22].value = tab[0].value;
-               tab[23].value = tab[1].value;
-               tab[24].value = tab[2].value;
+               tab[22].value = tab[19].value;
+               tab[23].value = tab[20].value;
+               tab[24].value = tab[21].value;
        }
        return tab;
 }