2677cd17d8
* new signin/signup * cleanup and password reset * new flow working * cleanup * add 'autoComplete' props * fix prop * try to call email/confirm before resetting password * Dont use password reset token for email confirmation. * add password reset * password manager improvements * update lbryinc * cleanup * slightly improve close button on sign up page * moar fixes * fix password autofil Co-authored-by: Mark Beamer Jr <markbeamerjr@gmail.com>
22 lines
516 B
JavaScript
22 lines
516 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
selectUser,
|
|
selectUserIsPending,
|
|
selectEmailToVerify,
|
|
selectEmailNewErrorMessage,
|
|
doUserSignIn,
|
|
doClearEmailEntry,
|
|
} from 'lbryinc';
|
|
import UserSignIn from './view';
|
|
|
|
const select = state => ({
|
|
user: selectUser(state),
|
|
userFetchPending: selectUserIsPending(state),
|
|
emailToVerify: selectEmailToVerify(state),
|
|
errorMessage: selectEmailNewErrorMessage(state),
|
|
});
|
|
|
|
export default connect(select, {
|
|
doUserSignIn,
|
|
doClearEmailEntry,
|
|
})(UserSignIn);
|