Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3491869
D6182.id20931.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
821 B
Referenced Files
None
Subscribers
None
D6182.id20931.diff
View Options
diff --git a/web/account/log-in-form.react.js b/web/account/log-in-form.react.js
--- a/web/account/log-in-form.react.js
+++ b/web/account/log-in-form.react.js
@@ -171,6 +171,10 @@
setErrorMessage('alphanumeric usernames only');
usernameInputRef.current?.focus();
return;
+ } else if (password === '') {
+ setErrorMessage('password is empty');
+ usernameInputRef.current?.focus();
+ return;
}
const extraInfo = loginExtraInfo();
@@ -181,7 +185,7 @@
({ calendarQuery: extraInfo.calendarQuery }: LogInStartingPayload),
);
},
- [dispatchActionPromise, logInAction, loginExtraInfo, username],
+ [dispatchActionPromise, logInAction, loginExtraInfo, username, password],
);
const loginButtonContent = React.useMemo(() => {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 8:57 PM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2678232
Default Alt Text
D6182.id20931.diff (821 B)
Attached To
Mode
D6182: [web] Empty password caused "Unknown error" during login
Attached
Detach File
Event Timeline
Log In to Comment