Add pre_loginpage_hooks

Bug #1749339 reported by Daniel Thee Roperto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Unassigned

Bug Description

Give a chance for auth plugins to authenticate the user or perform other tasks before showing the login page.

This is similar to https://tracker.moodle.org/browse/MDL-48887

Revision history for this message
Daniel Thee Roperto (roperto) wrote :

I am adding a patch,

Please let me know if you prefer a pull request.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hi Daniel. It would be great if you put it into our review system Gerrit as per https://wiki.mahara.org/wiki/Developer_Area/Contributing_Code

Thanks, Kristina

Changed in mahara:
importance: Undecided → Wishlist
status: New → In Progress
milestone: none → 18.10.0
Changed in mahara:
milestone: 18.10.0 → 19.04.0
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/9098

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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

commit bfdba3375f3f763d654b2413895b86aa744f76cf
Author: Daniel Thee Roperto <email address hidden>
Date: Thu Aug 30 16:26:29 2018 +1200

Bug 1749339: Add pre_loginpage_hooks

Add a pre-login hook to check if user is already logged in,
giving each auth plugin the chance to authenticate or redirect the user as
needed.

behatnotneeded

Change-Id: I690fd174a02e9ffd26b8e3c8f3efad041b54d3da

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
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.