aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/Login.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/auth/Login.js')
-rw-r--r--src/components/auth/Login.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js
index ef6176110..8777b00f8 100644
--- a/src/components/auth/Login.js
+++ b/src/components/auth/Login.js
@@ -137,7 +137,18 @@ export default @observer class Login extends Component {
137 showPasswordToggle 137 showPasswordToggle
138 /> 138 />
139 {error.code === 'invalid-credentials' && ( 139 {error.code === 'invalid-credentials' && (
140 <p className="error-message center">{intl.formatMessage(messages.invalidCredentials)}</p> 140 <>
141 <p className="error-message center">{intl.formatMessage(messages.invalidCredentials)}</p>
142 { window.ferdi.stores.settings.all.app.server !== 'https://api.franzinfra.com' && (
143 <p className="error-message center">
144 Using a custom Ferdi server? Try{' '}
145 <Link
146 to={ window.ferdi.stores.settings.all.app.server.replace('v1', '') + '/import' }
147 target="_blank"
148 style={{ cursor: 'pointer', textDecoration: 'underline' }}>importing your Franz account</Link>
149 </p>
150 )}
151 </>
141 )} 152 )}
142 {isSubmitting ? ( 153 {isSubmitting ? (
143 <Button 154 <Button