mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Webatrice: fix login bugs (#4557)
* fix login after failed connection attempts, limit connection attempt time * fix register hashed password and salt * add feature detection and Unsupported Browser screen * nit Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
parent
81d031ca0f
commit
bb16ae09ef
17 changed files with 104 additions and 18 deletions
27
webclient/src/containers/Unsupported/Unsupported.tsx
Normal file
27
webclient/src/containers/Unsupported/Unsupported.tsx
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import { connect } from 'react-redux';
|
||||
import { withRouter } from 'react-router-dom';
|
||||
import Paper from '@material-ui/core/Paper';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
|
||||
import './Unsupported.css';
|
||||
|
||||
const Unsupported = () => {
|
||||
return (
|
||||
<div className='Unsupported'>
|
||||
<Paper className='Unsupported-paper'>
|
||||
<div className='Unsupported-paper__header'>
|
||||
<Typography variant="h1">Unsupported Browser</Typography>
|
||||
<Typography variant="subtitle1">Please update your browser and/or check your permissions.</Typography>
|
||||
</div>
|
||||
|
||||
<Typography variant="subtitle2">Note: Private browsing causes some browsers to disable certain permissions or features.</Typography>
|
||||
</Paper>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
|
||||
});
|
||||
|
||||
export default withRouter(connect(mapStateToProps)(Unsupported));
|
||||
Loading…
Add table
Add a link
Reference in a new issue