postit: point Register button at /Account/Register
/signin only renders the local-account sign-in form on Yavsc.Org; new accounts live at /Account/Register. Update RegisterUrl in LoginPageViewModel and the matching test accordingly.
This commit is contained in:
parent
36e179c494
commit
9e190e3d3d
5 changed files with 98 additions and 13 deletions
|
|
@ -60,7 +60,7 @@ public class LoginPageViewModelTests
|
|||
|
||||
// Trailing slash on Authority is normalised away.
|
||||
Assert.Equal(
|
||||
"https://yavsc.example.com/signin?ReturnUrl=~%2F&AllowRememberLogin=true",
|
||||
"https://yavsc.example.com/Account/Register",
|
||||
vm.RegisterUrl);
|
||||
Assert.Equal(
|
||||
"https://yavsc.example.com/Account/ForgotPassword",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue