diff --git a/webapp/components/login/login_controller.jsx b/webapp/components/login/login_controller.jsx
index 726853cf2a..005f278bd3 100644
--- a/webapp/components/login/login_controller.jsx
+++ b/webapp/components/login/login_controller.jsx
@@ -524,7 +524,7 @@ export default class LoginController extends React.Component {
>
- {window.mm_config.SamlLoginButtonText}
+ {global.window.mm_config.SamlLoginButtonText}
);