Skip to content

Commit d7e893e

Browse files
committed
fix(ui): unverified user
1 parent cd7b72e commit d7e893e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/login/login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ class LoginPage extends React.Component {
617617
}, function () {
618618
//Once the state is updated, it's now possible to trigger emitOtpAction.
619619
//No need to wait for the component to update.
620-
if (!response.has_password_set) {
620+
if (!response.has_password_set && response.is_verified !== false) {
621621
this.emitOtpAction();
622622
}
623623
});

0 commit comments

Comments
 (0)