Skip to content

Save denied path

Latest
Compare
Choose a tag to compare
@cgrossde cgrossde released this 27 May 19:38

To allow a redirect after login feature, Laraguard now stores the path of the last denied page for X requests(default is two) in a session var laraguard_lastDenied.

During testing you might want to set temporary permissions not only for Laraguard but maybe also for your user. Laraguard now allows you to read out the currently active temporary permissions with getTemporaryPermissions()

Also temporary permissions and the laraguard_lastDenied session var will now be cleared before each behat test not after.