mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Added _cmdline in redirection
SVN revision: 920
This commit is contained in:
parent
d8d8f072b3
commit
3c35c11950
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.355 2004/06/23 07:41:34 midas
|
||||||
|
Added _cmdline in redirection
|
||||||
|
|
||||||
Revision 1.354 2004/06/23 07:34:04 midas
|
Revision 1.354 2004/06/23 07:34:04 midas
|
||||||
Redirect login screen if URL does not match the one in the config file
|
Redirect login screen if URL does not match the one in the config file
|
||||||
|
|
||||||
@ -15848,7 +15851,7 @@ BOOL check_user_password(LOGBOOK * lbs, char *user, char *password, char *redir)
|
|||||||
if (strchr(str2, ':'))
|
if (strchr(str2, ':'))
|
||||||
*strchr(str2, ':') = 0;
|
*strchr(str2, ':') = 0;
|
||||||
if (!strieq(str, str2)) {
|
if (!strieq(str, str2)) {
|
||||||
redirect(lbs, "");
|
redirect(lbs, _cmdline);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user