feat(me): add password rest button
This commit is contained in:
parent
e3fd3878b2
commit
0769e5ae9d
@ -47,7 +47,7 @@ public class MeData {
|
||||
this.lname = membreModel.getLname();
|
||||
this.fname = membreModel.getFname();
|
||||
this.categorie = membreModel.getCategorie().getName();
|
||||
this.club = membreModel.getClub().getName();
|
||||
this.club = membreModel.getClub() == null ? "Sans club" : membreModel.getClub().getName();
|
||||
this.genre = membreModel.getGenre().str;
|
||||
this.licence = membreModel.getLicence();
|
||||
this.country = membreModel.getCountry();
|
||||
|
||||
@ -112,10 +112,18 @@ export function InformationForm({data}) {
|
||||
|| <FontAwesomeIcon icon={faMarsAndVenus} style={style}/>}{data.genre}<br/>
|
||||
<FontAwesomeIcon icon={faCalendarDay} style={style}/>{data.birth_date ? data.birth_date.split('T')[0] : ''}<br/>
|
||||
<FontAwesomeIcon icon={faUserGroup} style={style}/>{data.categorie}<br/>
|
||||
<FontAwesomeIcon icon={faFlag} style={style}/>Nationalité : <img src={"/flags/flags_" + data.country.toLowerCase() + ".png"} alt=""/><br/>
|
||||
<FontAwesomeIcon icon={faFlag} style={style}/>Nationalité : <img src={"/flags/flags_" + data.country.toLowerCase() + ".png"}
|
||||
alt=""/><br/>
|
||||
<FontAwesomeIcon icon={faInfoCircle} style={style}/>Club : {data.club}<br/>
|
||||
<FontAwesomeIcon icon={faInfoCircle} style={style}/>Rôle au sien du club : {data.role}<br/>
|
||||
<FontAwesomeIcon icon={faInfoCircle} style={style}/>Formation d'arbitrage : {data.grade_arbitrage}
|
||||
</p>
|
||||
<div>
|
||||
<button className="btn btn-primary" type="button" id="button-addon1"
|
||||
onClick={_ => window.location.href = "https://auth.ffsaf.fr/realms/ffsaf/login-actions/reset-credentials?client_id=ffsaf-client"}>
|
||||
Changer mon mot de passe
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user