akveo / ngx-admin-bundle-support

Support repository for ngx-admin backend bundles with issues tracking, instructions and code samples
58 stars 32 forks source link

.net starter bundle - enter key doesn't work in login page #25

Open szanellato93 opened 5 years ago

szanellato93 commented 5 years ago

I bought the .net starter pack and enter key doesn't work in login page. In the free version it works perfectly.

valentinkononov commented 5 years ago

Hi, could you clarify exactly what do you mean by entering key in login page? do you mean password or what?

.NET Starter pack has own authentication integrated with frontend code, when you enter login / password in login page, it does a request to the backend API, where you installed / run it.

You supposed to have backend api up and running (locally for example), with some data base setup in .net configuration file (web.config or appSettings.json for core version).

Please give us more details on that.

szanellato93 commented 5 years ago

hello, I mean when I press the enter button after writing user and password in the login form. I don't know why but in the free version work perfectly, but in the .net bundle doesn't work. Probably some event missed in this version. Console have no errors.

Thank you very much in advance for your help.

szanellato93 commented 5 years ago

Another strange thing is that profile image doesn't appaer in the right corner, unlike free version do:

image

I checked the code, and there is the nb-user component in the header-container.

valentinkononov commented 5 years ago

I will check about 'enter' button, in fact we moved Login components from nebular to bundle code itself in order to let clients ability to customize it easily. But I just double checked nebular sources - there is no handling of enter click. probably, your cursor was in right place and right time. But good idea anyway, thanks!

about profile image, nb-user component is shown when there is role information inside token. i did some fixes about that pretty recently, so probably you might want to check the updated version soon. Or you can simply remove attribute *ngGranted temporarily

szanellato93 commented 5 years ago

The enter key work here, when i press it in the password input: https://akveo.com/ngx-admin/auth/login

it is the submit event.

Thank you for the user component.

valentinkononov commented 5 years ago

I understand, but the code is the same. I'll double check anyway