State that 2FA Code entry is optional

This commit is contained in:
DevilXD committed 2021-12-29 20:58:43 +01:00
1 parent 7a3268ea40
commit 2409873b0b
1 file changed
+1 -1
+1 -1
View File
@@ -194,7 +194,7 @@ class LoginForm:
self._login_entry.grid(column=0, row=1, columnspan=2)
self._pass_entry = PlaceholderEntry(frame, placeholder="Password", show='•')
self._pass_entry.grid(column=0, row=2, columnspan=2)
self._token_entry = PlaceholderEntry(frame, placeholder="2FA Code")
self._token_entry = PlaceholderEntry(frame, placeholder="2FA Code (optional)")
self._token_entry.grid(column=0, row=3, columnspan=2)
self._confirm = asyncio.Event()
self._button = ttk.Button(frame, text="Login", command=self._confirm.set, state="disabled")