π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove token field
mngshm9f17c9a5645f
diff --git a/infra/staff/src/App.css b/infra/staff/src/App.cssindex 2cc6d55418..941cbee923 100644--- a/infra/staff/src/App.css+++ b/infra/staff/src/App.css@@ -24,12 +24,10 @@.link-text {display: flex;align-items: center;- padding: 0 16px; /* Add padding for better appearance */text-decoration: none; /* Remove underline */color: inherit; /* Inherit color from parent */font-weight: bold; /* Make the text bold */font-size: 40px;- margin-bottom: 25px;}.duckie-container {@@ -62,7 +60,7 @@flex-direction: column;align-items: center;justify-content: space-around;- marign: 20px;+ margin: 20px;}.horizontal-group {diff --git a/infra/staff/src/App.tsx b/infra/staff/src/App.tsxindex 00a3c448fd..58fb7996dd 100644--- a/infra/staff/src/App.tsx+++ b/infra/staff/src/App.tsx@@ -234,30 +234,6 @@ const App: React.FC = () => {setTabValue(newValue);};- useEffect(() => {- const searchParam = new URLSearchParams(window.location.search);- const userToken = searchParam.get("token");-- if (userToken) {- setLocalToken(userToken);- setToken(userToken);-- const editToken = document.getElementById(":r1:");- if (editToken instanceof HTMLInputElement) {- editToken.readOnly = true;- }- }- }, []);-- const updateToken = () => {- const editToken = document.getElementById(":r1:");- if (editToken instanceof HTMLInputElement) {- editToken.readOnly = false;- // Change focus to token field- editToken.focus();- }- };-return (<div className="container"><div>@@ -272,30 +248,6 @@ const App: React.FC = () => {staff.ente.io</a><div className="text-fields">- <div- style={{- display: "flex",- flexDirection: "column",- }}- >- <TextField- label="Token"- value={localToken}- onChange={(e) => {- setLocalToken(e.target.value);- setToken(e.target.value);- }}- size="medium"- className="text-field-token"- style={{ maxWidth: "parent" }}- />- <Link- style={{ textAlign: "left" }}- onClick={updateToken}- >- Update Token?- </Link>- </div><TextFieldlabel="Email"value={localEmail}