commit e7191aad045a594e2c3bd83a496accce1a0e7ea3
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>
Reviewed: https:/ /reviews. mahara. org/8306 /git.mahara. org/mahara/ mahara/ commit/ e7191aad045a594 e2c3bd83a496acc ce1a0e7ea3
Committed: https:/
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master
commit e7191aad045a594 e2c3bd83a496acc ce1a0e7ea3
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
Signed-off-by: Robert Lyon <email address hidden>