Searched hist:"676 f2fca" (Results 1 – 4 of 4) sorted by relevance
/openbmc/webui-vue/src/store/ |
H A D | api.js | 676f2fca 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/modules/Authentication/ |
H A D | AuthenticanStore.js | 676f2fca 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 D | main.js | 676f2fca 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 D | Login.vue | 676f2fca 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
|