Skip to content

Commit

Permalink
Merge pull request #731 from SUNET/alex-stats-custom_password
Browse files Browse the repository at this point in the history
add custom_password statistics
  • Loading branch information
johanlundberg authored Jan 24, 2025
2 parents 70eb5d2 + 72eba22 commit 7ab612f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/eduid/webapp/signup/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ def create_user(use_suggested_password: bool, use_webauthn: bool, custom_passwor
if custom_password is not None:
state["credentials"]["custom_password"] = True
state["credentials"]["generated_password"] = None
current_app.stats.count(name="custom_password")
# clear passwords from session and namespace
del custom_password
session.signup.credentials.generated_password = None
Expand Down

0 comments on commit 7ab612f

Please sign in to comment.