mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed login problem in French
This commit is contained in:
parent
1c08916439
commit
377e51aabe
@ -26366,8 +26366,10 @@ BOOL check_login(LOGBOOK *lbs, const char *sid) {
|
||||
if (!skip_sid_check && !sid_check(sid, user_name)) {
|
||||
if (isparam("redir"))
|
||||
strlcpy(str, getparam("redir"), sizeof(str));
|
||||
else
|
||||
else {
|
||||
strlcpy(str, isparam("cmdline") ? getparam("cmdline") : _cmdline, sizeof(str));
|
||||
url_decode(str);
|
||||
}
|
||||
/* avoid recursive loops with ?cmd=Login */
|
||||
if (stristr(str, loc("Login")))
|
||||
str[0] = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user