Skip to content
Snippets Groups Projects
Verified Commit 8ee96ce5 authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Format phone number correctly before submitting

Instead of manually putting together the phone number and hoping we get
it right, we instead format the number using the phonenumbers library.
This library is already in use for validation, making it the obvious
choice. This means that the backend will only receive E.164 formatted
phonenumbers from now on. In addition, we now ensure that the number is
in fact a mobile phone number.
parent 72970889
No related branches found
No related tags found
1 merge request!405Format phone number correctly before submitting
Pipeline #205511 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment