mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
feat(web): event handler component (#23763)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
const onSuccess = async (user: LoginResponseDto) => {
|
||||
await goto(data.continueUrl, { invalidateAll: true });
|
||||
eventManager.emit('auth.login', user);
|
||||
eventManager.emit('AuthLogin', user);
|
||||
};
|
||||
|
||||
const onFirstLogin = () => goto(AppRoute.AUTH_CHANGE_PASSWORD);
|
||||
|
||||
Reference in New Issue
Block a user