stormpath / stormpath-widget

Add beautiful login, registration, and multi-factor authentication screens to your app in only a few lines of code
https://docs.stormpath.com
Apache License 2.0
6 stars 2 forks source link

Define stormpath.showLogin() behavior to be a better developer experience when the end-user is logged in #152

Open omgitstom opened 7 years ago

omgitstom commented 7 years ago

Adding an issue for this, but we need to have a discussion about this. It isn't a normal paradigm to show

Right now, we show a message that you are already logged in.

Explicitly invoking login should either do: