PowerDNS-Admin/powerdnsadmin/routes
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
..
__init__.py Refactoring the code 2019-12-02 10:32:03 +07:00
admin.py strip() whitespace from new local user master data (#1019) 2021-11-05 17:04:35 +02:00
api.py respect_bg_domain_updates in routes/api (#962) 2021-08-05 19:39:26 +02:00
base.py Support login in through REMOTE_USER environment variable 2020-05-22 15:31:24 +01:00
dashboard.py bg_domain button for operators and higher (#993) 2021-10-30 21:26:46 +02:00
domain.py allow users to remove domain (#952) 2021-10-30 21:21:45 +02:00
index.py strip() whitespace from new local user master data (#1019) 2021-11-05 17:04:35 +02:00
user.py strip() whitespace from new local user master data (#1019) 2021-11-05 17:04:35 +02:00