From 65af8bad51851ff7f15319d5ce14ff24697aaded Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 1 Feb 2021 10:58:11 -0800 Subject: Registration flow updates --- modern/src/LoginPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modern/src/LoginPage.js') diff --git a/modern/src/LoginPage.js b/modern/src/LoginPage.js index 14960f82..d3be3978 100644 --- a/modern/src/LoginPage.js +++ b/modern/src/LoginPage.js @@ -54,7 +54,7 @@ const LoginPage = () => { const classes = useStyles(); const history = useHistory(); - const registrationPref = useSelector(state => state.session.server ? state.session.server['registration'] : false); + const registrationEnabled = useSelector(state => state.session.server ? state.session.server['registration'] : false); const handleEmailChange = (event) => { setEmail(event.target.value); @@ -118,7 +118,7 @@ const LoginPage = () => {
-