mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-30 20:50:57 +02:00
fixed master password leakage
This commit is contained in:
parent
6f06a55467
commit
5d830701c0
@ -41,6 +41,7 @@ export default function AuthContextProvider({children}: AuthContextProviderProps
|
||||
|
||||
const logout = useCallback(async (forceLogout = true) => {
|
||||
setUser(null)
|
||||
setDecryptionPassword(null)
|
||||
|
||||
if (forceLogout) {
|
||||
await logoutUser()
|
||||
|
Loading…
x
Reference in New Issue
Block a user