- added working typescript support to vue
- added bouncer support - added UserPolicies - added first user index call
This commit is contained in:
@@ -38,6 +38,10 @@ export default class ExceptionHandler extends HttpExceptionHandler {
|
||||
session.flash('login', { error: error.message });
|
||||
return response.redirect().back();
|
||||
}
|
||||
if(['E_AUTHORIZATION_FAILURE'].includes(error.code)) {
|
||||
session.flash('auth', { error: error.message })
|
||||
return response.redirect().back()
|
||||
}
|
||||
|
||||
/**
|
||||
* Forward rest of the exceptions to the parent class
|
||||
|
||||
Reference in New Issue
Block a user