File tree 2 files changed +2
-1
lines changed
templates/app/client/app/account(auth)/settings
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ export class Generator extends Base {
522
522
return contents
523
523
. replace ( / c o n f i r m p a s s w o r d / g, 'confirmPassword' )
524
524
. replace ( / l o g i n f o r m / g, 'loginForm' )
525
+ . replace ( / c h a n g e p a s s w o r d f o r m / g, 'changePasswordForm' )
525
526
. replace ( / n e w p a s s w o r d / g, 'newPassword' )
526
527
. replace ( / n g i f / g, 'ngIf' )
527
528
. replace ( / n g f o r / g, 'ngFor' )
Original file line number Diff line number Diff line change 4
4
< h1 > Change Password</ h1 >
5
5
</ div >
6
6
< div class ="col-sm-12 ">
7
- < form class ="form " name ="form " (ngSubmit) ="changePassword() " novalidate >
7
+ < form class ="form " name ="changePasswordForm " (ngSubmit) ="changePassword(changePasswordForm ) " novalidate #changePasswordForm =" ngForm " >
8
8
9
9
< div class ="form-group ">
10
10
< label > Current Password</ label >
You can’t perform that action at this time.
0 commit comments