feat(web): improve /auth pages (#1969)

* feat(web): improve /auth pages

* invalidate load functions after login

* handle login server errors more graceful

* add loading state to oauth button
This commit is contained in:
Michel Heusschen
2023-03-15 22:38:29 +01:00
committed by GitHub
parent 04955a4123
commit 87d84b922f
10 changed files with 299 additions and 276 deletions

View File

@@ -14,5 +14,8 @@ export enum AppRoute {
SHARING = '/sharing',
SEARCH = '/search',
AUTH_LOGIN = '/auth/login'
AUTH_LOGIN = '/auth/login',
AUTH_LOGOUT = '/auth/logout',
AUTH_REGISTER = '/auth/register',
AUTH_CHANGE_PASSWORD = '/auth/change-password'
}