Skip to content
Snippets Groups Projects
Commit 9aebdc09 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #7659 change redirect to home page after password changed

parent ff73da6d
No related branches found
No related tags found
No related merge requests found
...@@ -225,7 +225,7 @@ export class InfoChangePasswordModalComponent { ...@@ -225,7 +225,7 @@ export class InfoChangePasswordModalComponent {
constructor(public http: HttpClient, @Inject(MAT_DIALOG_DATA) public data: any, public dialogRef: MatDialogRef<InfoChangePasswordModalComponent>) { constructor(public http: HttpClient, @Inject(MAT_DIALOG_DATA) public data: any, public dialogRef: MatDialogRef<InfoChangePasswordModalComponent>) {
} }
logout() { redirect() {
location.href = "index.php?display=true&page=logout&logout=true"; location.href = "index.php";
} }
} }
...@@ -570,7 +570,7 @@ export const LANG_EN = { ...@@ -570,7 +570,7 @@ export const LANG_EN = {
"passwordValid" : "Password is valid", "passwordValid" : "Password is valid",
"passwordMatch" : "These passwords match", "passwordMatch" : "These passwords match",
"passwordNotMatch" : "These passwords don't match", "passwordNotMatch" : "These passwords don't match",
"reconnect" : "Reconnect", "homePage" : "Home page",
"passwordChanged" : "Your password has changed", "passwordChanged" : "Your password has changed",
"typeCurrentPassword" : "Type your current password", "typeCurrentPassword" : "Type your current password",
"typeNewPassword" : "Type a new password", "typeNewPassword" : "Type a new password",
......
...@@ -592,7 +592,7 @@ export const LANG_FR = { ...@@ -592,7 +592,7 @@ export const LANG_FR = {
"passwordValid" : "Mot de passe conforme", "passwordValid" : "Mot de passe conforme",
"passwordMatch" : "Les mots de passe sont identiques", "passwordMatch" : "Les mots de passe sont identiques",
"passwordNotMatch" : "Les mots de passe ne correspondent pas", "passwordNotMatch" : "Les mots de passe ne correspondent pas",
"reconnect" : "Se re-connecter", "homePage" : "Page d'accueil",
"passwordChanged" : "Votre mot de passe a été changé", "passwordChanged" : "Votre mot de passe a été changé",
"typeCurrentPassword" : "Entrez votre mot de passe actuel", "typeCurrentPassword" : "Entrez votre mot de passe actuel",
"typeNewPassword" : "Entrez un nouveau mot de passe", "typeNewPassword" : "Entrez un nouveau mot de passe",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment