Update signOut to notify auth state changes
cgen-7b6080a47fe74da1a173a231cd272f7b
This commit is contained in:
parent
04f4418803
commit
491f6eaf06
1 changed files with 4 additions and 1 deletions
|
|
@ -89,7 +89,10 @@ class MockAuthService {
|
|||
this.currentSession = null;
|
||||
localStorage.removeItem('mock_user');
|
||||
localStorage.removeItem('mock_profile');
|
||||
|
||||
|
||||
// Notify auth state change
|
||||
setTimeout(() => this.notifyAuthChange('SIGNED_OUT'), 50);
|
||||
|
||||
return { error: null };
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue