summaryrefslogtreecommitdiffstats
path: root/webapp/actions
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/actions')
-rw-r--r--webapp/actions/user_actions.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/actions/user_actions.jsx b/webapp/actions/user_actions.jsx
index 8a794bb0a..d810b4c2e 100644
--- a/webapp/actions/user_actions.jsx
+++ b/webapp/actions/user_actions.jsx
@@ -631,7 +631,7 @@ export function checkMfa(loginId, success, error) {
checkMfaRedux(loginId)(dispatch, getState).then(
(data) => {
- if (data && success) {
+ if (data != null && success) {
success(data);
} else if (data == null && error) {
const serverError = getState().requests.users.checkMfa.error;