- added working typescript support to vue

- added bouncer support
- added UserPolicies
- added first user index call
This commit is contained in:
Sockenklaus
2023-07-08 08:16:08 +02:00
parent 6d28aaecb7
commit 864da02de5
23 changed files with 619 additions and 582 deletions

View File

@@ -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