mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 01:37:52 +02:00
automatically clear local storage when registration succeeds (#71)
This commit is contained in:
parent
f3e5919ca8
commit
9e14a8b0ba
@ -70,6 +70,9 @@ const NoAccountRequest = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Success = (props) => {
|
const Success = (props) => {
|
||||||
|
// clear local storage on new account registration success.
|
||||||
|
localStorage.clear();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={"fullscreen"}>
|
<div className={"fullscreen"}>
|
||||||
<img src={"/ziggy.svg"} width={200}/>
|
<img src={"/ziggy.svg"} width={200}/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user