Home
last modified time | relevance | path

Searched hist:"676 f2fca" (Results 1 – 4 of 4) sorted by relevance

/openbmc/webui-vue/src/store/modules/Authentication/
H A DAuthenticanStore.js676f2fca Mon Dec 23 20:53:49 CST 2019 Derick Montague <derick.montague@ibm.com> Add login form validation

- Sending incorrect credentials returns a 401 and we don't want the page
to redirect if we are trying to login. Wrapped the redirect in an if
block.
- Returning a promise used by the logout action, which is needed
when not redirecting the page. Didn't add to the if block since
other errors that use the router to redirect will need the Promise
returned also, e.g. 403.

Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I6db706ef7c71ed13baed95dc4264e6ae11d13ad3
/openbmc/webui-vue/src/store/
H A Dapi.js676f2fca Mon Dec 23 20:53:49 CST 2019 Derick Montague <derick.montague@ibm.com> Add login form validation

- Sending incorrect credentials returns a 401 and we don't want the page
to redirect if we are trying to login. Wrapped the redirect in an if
block.
- Returning a promise used by the logout action, which is needed
when not redirecting the page. Didn't add to the if block since
other errors that use the router to redirect will need the Promise
returned also, e.g. 403.

Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I6db706ef7c71ed13baed95dc4264e6ae11d13ad3
/openbmc/webui-vue/src/
H A Dmain.js676f2fca Mon Dec 23 20:53:49 CST 2019 Derick Montague <derick.montague@ibm.com> Add login form validation

- Sending incorrect credentials returns a 401 and we don't want the page
to redirect if we are trying to login. Wrapped the redirect in an if
block.
- Returning a promise used by the logout action, which is needed
when not redirecting the page. Didn't add to the if block since
other errors that use the router to redirect will need the Promise
returned also, e.g. 403.

Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I6db706ef7c71ed13baed95dc4264e6ae11d13ad3
/openbmc/webui-vue/src/views/Login/
H A DLogin.vue676f2fca Mon Dec 23 20:53:49 CST 2019 Derick Montague <derick.montague@ibm.com> Add login form validation

- Sending incorrect credentials returns a 401 and we don't want the page
to redirect if we are trying to login. Wrapped the redirect in an if
block.
- Returning a promise used by the logout action, which is needed
when not redirecting the page. Didn't add to the if block since
other errors that use the router to redirect will need the Promise
returned also, e.g. 403.

Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I6db706ef7c71ed13baed95dc4264e6ae11d13ad3