File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ## [ 0.2.1] - 2020-05-09
2+ ### Changed
3+ - trim and lowercase username on oauth login
4+
5+
16## [ 0.2.0] - 2020-05-06
27### Added
38- dynamic client loading from ` configuration.json `
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ async def authorization_endpoint_post(
288288 else :
289289 raise web .HTTPFound (f"{ redirect_uri } ?error=unauthorized_client" )
290290
291- email = data ["email" ]
291+ email = data ["email" ]. strip ( " " ). lower ()
292292 password = data ["password" ]
293293
294294 # validate credentials
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ span.password {
7979
8080 <div class =" container" >
8181 <label for =" uname" ><b >Username</b ></label >
82- <input type =" text" placeholder =" Enter Username" name =" email" required >
82+ <input type =" text" placeholder =" Enter Username" name =" email" required style = " text-transform : lowercase ; " >
8383
8484 <label for =" password" ><b >Password</b ></label >
8585 <input type =" password" placeholder =" Enter Password" name =" password" required >
You can’t perform that action at this time.
0 commit comments