stop deleting user sessions when updating user data

Bug #1790742 reported by Cecilia Vela Gurovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Cecilia Vela Gurovic

Bug Description

the user sessionids are removed from the DB
to prevent users from reseting the user data when they are logged in
while their user is being updated through CSV file

But this also removes sessions when updating a user through web services
making the user be logged out

Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
status: New → Confirmed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/9109

Changed in mahara:
status: Confirmed → In Progress
Changed in mahara:
importance: Undecided → Wishlist
milestone: none → 18.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/9109
Committed: https://git.mahara.org/mahara/mahara/commit/59e381ef7f4d2592a0f6f51fd3570f4138aa8870
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 59e381ef7f4d2592a0f6f51fd3570f4138aa8870
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Sep 5 11:30:16 2018 +1200

Bug 1790742: stop deleting user sessions when updating user data

the user sessionids are removed from the DB
to prevent users from reseting the user data when they are logged in
while their user is being updated through CSV file

this fix deletes the sessionids when uploading CSV files
and not in the update_user general function
to prevent logging out of the user when updating through web services

behatnotneeded

Change-Id: I3eca84dd10a035c4b9fe3ad180ca8ba32746b3c6

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.