correction de la recuperation de la valeur d'un champ
This commit is contained in:
12223
package-lock.json
generated
12223
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -39,9 +39,10 @@ export class AccountComponent implements OnInit {
|
||||
|
||||
onUpdate(): void {
|
||||
if(this.passwdFG.invalid) {
|
||||
console.log("Form invalid !!");
|
||||
return;
|
||||
}
|
||||
this.hash = shajs('sha256').update(this.passwdFG.get('new_passwd').value()).digest('hex');
|
||||
this.hash = shajs('sha256').update(this.passwdFG.get('new_passwd').value).digest('hex');
|
||||
this.bs.updatePasswd(this.hash).subscribe(
|
||||
data => {
|
||||
this.toast.success("Mise à jour réussie");
|
||||
|
||||
Reference in New Issue
Block a user