Open GoogleCodeExporter opened 9 years ago
PWM forms now support regex expressions for input format checking. This can be
used on the new user registration or on the profile update to require correct
formatting of the attribute value later used for SMS. Will this meet your
needs?
Original comment by jrivard
on 17 Oct 2012 at 1:12
I am afraid not. Because we are not using PWM for user registration or profile
updates. We have already registered users, PWM is reading those from LDAP and
sending them SMS. In other words the users who are getting activated or who are
using the forgotten password options of PWM are not registered via PWM.
Updating the profile is an option to be included but the users can't update
their profiles before they have activated the accounts and again for account
activation PWM will read the default mobile attribute from LDAP.
Original comment by haqa...@gmail.com
on 17 Oct 2012 at 2:21
Incorporating libphonenumber in PWM looks easy, technically. I'm less sure
about licensing. PWM is distributed under GPL v2, while libphonenumber is
distributed under Apache License 2, which according to both the Apache and GNU
websites incompatible. I'm not a laywer, so I cannot tell how this works... Any
ideas?
Another option would be to implement a phone number check using a configurable
regex.
Regards,
Menno
Original comment by menno.pi...@gmail.com
on 17 Oct 2012 at 4:14
Original comment by menno.pi...@gmail.com
on 26 May 2013 at 8:39
Adding an Apache licensed library to PWM is okay.
I still don't get what this enhancement is asking for? Shouldn't any
validation of the number occur at the point of entry? What's the point of
doing it just before sending it. If it's bad the gateway will reject it.
Notifying the user doesn't do anything because they can't fix it at that point
anyway.
Original comment by jrivard
on 26 May 2013 at 8:46
I agree that it should be checked during entry. That is what I would do.
Libphonenumber is quite cool and powerful. I do not consider it high priority.
Much of the requestor's wishes can already be implemented using regexes for the
input fields.
Original comment by menno.pi...@gmail.com
on 26 May 2013 at 9:39
Original issue reported on code.google.com by
haqa...@gmail.com
on 8 Aug 2012 at 10:02