commit 5b891a21ce76eadceffae60b35ab8d41351122f5
Author: Robert Lyon <email address hidden>
Date: Fri Nov 24 08:45:37 2017 +1300
Bug 1734194: Infinite loop site crash if usr = 0 saved in usr_session
The USER object will have id = 0 when a user is logged out
It should never end up in the usr_session table. This patch stops that
from happening and also ignores usr = 0 insession table with setting
up auth as well.
behatnotneeded
Change-Id: I0ba7afe0d21ae822daf8895af943f41048ba82b7
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit e7191aad045a594e2c3bd83a496accce1a0e7ea3)
Reviewed: https:/ /reviews. mahara. org/8315 /git.mahara. org/mahara/ mahara/ commit/ 5b891a21ce76ead ceffae60b35ab8d 41351122f5
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.10_STABLE
commit 5b891a21ce76ead ceffae60b35ab8d 41351122f5
Author: Robert Lyon <email address hidden>
Date: Fri Nov 24 08:45:37 2017 +1300
Bug 1734194: Infinite loop site crash if usr = 0 saved in usr_session
The USER object will have id = 0 when a user is logged out
It should never end up in the usr_session table. This patch stops that
from happening and also ignores usr = 0 insession table with setting
up auth as well.
behatnotneeded
Change-Id: I0ba7afe0d21ae8 22daf8895af943f 41048ba82b7 e2c3bd83a496acc ce1a0e7ea3)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit e7191aad045a594