Complete SSO (user model, error cases, tests, views) & Add github provider

This commit is contained in:
Bubka
2023-12-09 17:22:24 +01:00
parent 717bef16f7
commit 9ff35195f0
28 changed files with 488 additions and 79 deletions

View File

@@ -1,7 +1,7 @@
export default function noEmptyError({ to, next, nextMiddleware, stores }) {
const { notify } = stores
if (notify.err == null) {
if (notify.err == null && ! to.query.err) {
// return to home if no err object is set to prevent an empty error message
next({ name: 'accounts' });
}