mercredi 4 mai 2016

Stop showing blank page on cancelled login - Ember

Greetings oh mighty stackoverflow,

I have searched for answers with no luck on my problem and thus I hope you can provide me with some help.

My company is using Ember.js, which I have very little knowledge of, and one of our current user stories is to make it possible to show the user something else than a blank page on cancelled login prompt. I have tried making cancel actions etc in the ex-button-Component and login-controller (sorry but cannot show that code), but with no visible change.

The solution could either be a redirection to a page ("you pressed cancel!"), some sort of alert ("ey, you cancelled!") or simply go back to the login prompt.

Any help would be much appreciated! Also, I have no idea how to make the code look nice in this post.

I provide you with the code for the login template below:

`



`




Aucun commentaire:

Enregistrer un commentaire