Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hdastageeri
hft_awado_app
Commits
a1680e3c
Commit
a1680e3c
authored
5 years ago
by
Priyanka Upadhye
Browse files
Options
Download
Email Patches
Plain Diff
Validation of Password change
parent
ccd07189
master
58-add-flow-on-navigate-button-to-route-from-user-to-bike
67-deactivate-user-api-integration
69-add-launcher-icon-for-application-on-android
70-add-validation-for-feedback-should-not-be-empty
71-prediction-ui-implementation-send-location-of-bike-to-backend
72-feedback-toast-message
73-removal-here-maps-api-key
Show-Bike-details-when-bike-icon-is-clicked
1 merge request
!60
Validation of Password change
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/auth/reset-password/reset-password.page.ts
+3
-0
src/app/auth/reset-password/reset-password.page.ts
with
3 additions
and
0 deletions
+3
-0
src/app/auth/reset-password/reset-password.page.ts
+
3
-
0
View file @
a1680e3c
...
...
@@ -33,8 +33,11 @@ export class ResetPasswordPage implements OnInit {
resetPassword
(){
if
(
this
.
oldPassword
==
""
||
this
.
confirmPassword
==
""
||
this
.
newPassword
==
""
)
this
.
toastService
.
showToast
(
"
All Feilds are mandatory
"
);
else
if
(
this
.
newPassword
.
length
<
4
)
this
.
toastService
.
showToast
(
"
Weak Password
"
);
else
if
(
this
.
confirmPassword
!=
this
.
newPassword
)
this
.
toastService
.
showToast
(
"
Please Confirm Password Again
"
);
else
{
this
.
storage
.
get
(
'
token
'
).
then
((
token
)
=>
{
let
url
=
'
http://193.196.52.237:8081/password-reset/
'
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets