SMITHsharon / nashConnects

0 stars 0 forks source link

User can sign-in #16

Open SMITHsharon opened 6 years ago

SMITHsharon commented 6 years ago

Given an authorized user wants to sign-in When the user clicks on Account / Sign In in the nav Then the User Sign In view displays, listing the following input fields:

When the user clicks the Sign In button, if the given Username and Email are validated the user is signed in.

If the signed-in user is Admin, the Admin menu appears in the nav with the following items:

If the user sign-in information is not valid an error message displays and the User Sign In screen redisplays.

SMITHsharon commented 6 years ago
.when("/login",
        {
            templateUrl: "/ngApp/Views/login.html",
            controller: "authController",
            controllerAs: 'vm'
        })
SMITHsharon commented 6 years ago

Signing-in the seed user works.