|
|
@ -83,7 +83,7 @@ function SignUp(props: { navigation: any; }) {
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case (errorList.invalidPassword):
|
|
|
|
case (errorList.invalidPassword):
|
|
|
|
Alert.alert("Votre pseudo doit contenir au moins une majuscule, une majuscule, un chiffre et un caractère spécial (#?!@$%^&*-)");
|
|
|
|
Alert.alert("Votre password doit contenir au moins une majuscule, une majuscule, un chiffre et un caractère spécial (#?!@$%^&*-)");
|
|
|
|
dispatch(updateInvalidPassword(false));
|
|
|
|
dispatch(updateInvalidPassword(false));
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
@ -99,7 +99,7 @@ function SignUp(props: { navigation: any; }) {
|
|
|
|
|
|
|
|
|
|
|
|
<View style={{width: '60%', alignItems: 'center'}}>
|
|
|
|
<View style={{width: '60%', alignItems: 'center'}}>
|
|
|
|
<Text style={styles.text}>Login</Text>
|
|
|
|
<Text style={styles.text}>Login</Text>
|
|
|
|
<TextInput style={styles.textInput} placeholder='Login' onChangeText={(val) => setPseudo(val)} autoCapitalize='none' />
|
|
|
|
<TextInput style={styles.textInput} placeholder='Login' onChangeText={(val) => setPseudo(val)} autoCapitalize='none'/>
|
|
|
|
</View>
|
|
|
|
</View>
|
|
|
|
|
|
|
|
|
|
|
|
<View style={{width: '60%', alignItems: 'center'}}>
|
|
|
|
<View style={{width: '60%', alignItems: 'center'}}>
|
|
|
|