mirror of
https://github.com/wassname/talk.git
synced 2026-07-28 11:27:05 +08:00
Clearly remove auth data from storage
This commit is contained in:
@@ -60,6 +60,7 @@ class SignInContainer extends React.Component {
|
||||
if (e.key === 'auth') {
|
||||
const { err, data } = JSON.parse(e.newValue);
|
||||
authCallback(err, data);
|
||||
localStorage.removeItem('auth');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user