Re: [Rails-core] New feature suggestion: Get username and password separately from ActionController::HttpAuthentication::Basic::user_name_and_password

2017-08-07 Thread Rob Biedenharn
> On 2017-Aug-7, at 03:06 , Fatos Morina wrote: > > Hi fellow coders, > > I have recently been implementing an API and used Basic Auth as the > authentication method. Besides doing the authentication part, I need to > extract the email from the request header for other usages. > > Currently,

[Rails-core] New feature suggestion: Get username and password separately from ActionController::HttpAuthentication::Basic::user_name_and_password

2017-08-07 Thread Fatos Morina
Hi fellow coders, I have recently been implementing an API and used Basic Auth as the authentication method. Besides doing the authentication part, I need to extract the email from the request header for other usages. Currently, we can extract username the following way: username = ActionCont