Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tdt4242-ex2
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jørgen Hollum
tdt4242-ex2
Commits
ed5081ac
Commit
ed5081ac
authored
2 years ago
by
Sigurd
Browse files
Options
Downloads
Patches
Plain Diff
pipeline check
removing raise of error
parent
c1e3ee33
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#170711
passed with stage
in 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/secfit/users/serializers.py
+0
-3
0 additions, 3 deletions
backend/secfit/users/serializers.py
with
0 additions
and
3 deletions
backend/secfit/users/serializers.py
+
0
−
3
View file @
ed5081ac
...
...
@@ -36,9 +36,6 @@ class UserSerializer(serializers.HyperlinkedModelSerializer):
password
=
data
.
get
(
"
password
"
)
password1
=
data
.
get
(
"
password1
"
)
if
password
!=
password1
():
raise
serializers
.
ValidationError
(
"
The passwords must match
"
)
try
:
password_validation
.
validate_password
(
password
)
except
forms
.
ValidationError
as
error
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment