mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	* feat: add new user page * feat: passwordchecker * fix: remove loading * feat: reset password * fix: move swr to devDeps * feat: generate reset link * feat: add reset password form * fix: remove console log * fix: rename to forgotten password * feat: add simple menu * fix: change password checker title * fix: change text in new-user view * fix: lint errors * fix: add status code to constants * fix: comment * fix: add classes for new user component * fix: tests * fix: remove console log * fix: remove retry method * fix: invalid token constant * fix: remove console log * fix: dependency array on useCallback * fix: featureview * fix: redirect on authenticated * refactor: progresswheel * fix: lint deps
		
			
				
	
	
		
			30 lines
		
	
	
		
			975 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			975 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { Button, Typography } from '@material-ui/core';
 | |
| import { Link } from 'react-router-dom';
 | |
| import { useCommonStyles } from '../../../../common.styles';
 | |
| 
 | |
| const InvalidToken = () => {
 | |
|     const commonStyles = useCommonStyles();
 | |
|     return (
 | |
|         <div className={commonStyles.contentSpacingY}>
 | |
|             <Typography variant="h2" className={commonStyles.title}>
 | |
|                 Invalid token
 | |
|             </Typography>
 | |
|             <Typography variant="subtitle1">
 | |
|                 Your token has either been used to reset your password, or it
 | |
|                 has expired. Please request a new reset password URL in order to
 | |
|                 reset your password.
 | |
|             </Typography>
 | |
|             <Button
 | |
|                 variant="contained"
 | |
|                 color="primary"
 | |
|                 component={Link}
 | |
|                 to="forgotten-password"
 | |
|             >
 | |
|                 Reset password
 | |
|             </Button>
 | |
|         </div>
 | |
|     );
 | |
| };
 | |
| 
 | |
| export default InvalidToken;
 |