diff options
Diffstat (limited to 'webapp/components/login')
-rw-r--r-- | webapp/components/login/login_controller.jsx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/webapp/components/login/login_controller.jsx b/webapp/components/login/login_controller.jsx index f84c30d51..f62464f37 100644 --- a/webapp/components/login/login_controller.jsx +++ b/webapp/components/login/login_controller.jsx @@ -527,6 +527,20 @@ export default class LoginController extends React.Component { ); } + if (loginControls.length === 0) { + loginControls.push( + <FormError + error={ + <FormattedMessage + id='login.noMethods' + defaultMessage='No sign in methods are enabled. Please contact your System Administrator.' + /> + } + margin={true} + /> + ); + } + return ( <div> {extraBox} |