PowerDNS-Admin/powerdnsadmin
zoeller-freinet 20b866a784
strip() whitespace from new local user master data (#1019)
When creating a new local user, there is a chance that, due to a copy &
paste or typing error, whitespace will be introduced at the start or end
of the username. This can lead to issues when trying to log in using the
affected username, as such a condition can easily be overlooked - no
user will be found in the database if entering the username without the
aforementioned whitespace. This commit therefore strip()s the username
string within routes/{admin,index}.py.

The firstname, lastname and email strings within
routes/{admin,index,user}.py are also strip()ped on this occasion.
2021-11-05 17:04:35 +02:00
..
lib fix if condition in pretty_domain_name (#1008) 2021-10-30 21:29:55 +02:00
models Replace [ZONE] placeholder with domain_name (#960) 2021-10-30 21:24:16 +02:00
routes strip() whitespace from new local user master data (#1019) 2021-11-05 17:04:35 +02:00
services SAML improvements for Docker (#929) 2021-05-07 23:36:55 +02:00
static Offline installation and searchable inputs 2020-04-30 17:20:37 +00:00
templates user_profile tpl: set email input type attr to "email" (#1020) 2021-10-30 21:30:26 +02:00
__init__.py Add punycode (IDN) support (#879) 2021-03-16 19:37:05 +01:00
assets.py Offline installation and searchable inputs 2020-04-30 17:20:37 +00:00
decorators.py allow users to remove domain (#952) 2021-10-30 21:21:45 +02:00
default_config.py allow-server-side-sessions (#855) 2021-01-24 09:09:53 +01:00
swagger-spec.yaml upd: improve user api (#878) 2021-03-16 19:39:53 +01:00