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.