Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

"login" link does not work from the /welcome page #15

Open
am-cornelis opened this issue May 14, 2018 · 2 comments
Open

"login" link does not work from the /welcome page #15

am-cornelis opened this issue May 14, 2018 · 2 comments

Comments

@am-cornelis
Copy link
Contributor

It's quite a strange one: it seems we're serving the same page from /about and /welcome, yet the "login" link works fine when accessing it from /about and not from /welcome.

To get to the /welcome page: Sign On and Logout. Then try click on the "login" link, in the "Then you can login" paragraph. Notice how nothing happens but you're now on the /welcome/signon page. Every time you click on that "login" link, you'll get an extra /signon.

@am-cornelis
Copy link
Contributor Author

Here's an example after clicking a few times
ecp_signonononononon

@am-cornelis
Copy link
Contributor Author

The most likely culprit is this line:

src/app/pages/about-page/about-page.component.html: Then you can <a [routerLink]=" ['./signon'] ">login</a>.

Where./signon needs to be /signon to make it an absolute path rather than relative, probably.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant