페이지 라우팅 할 때마다 access token (저장소/쿠키) 확인기능 추가
This commit is contained in:
@@ -80,8 +80,8 @@ const Login = () => {
|
||||
<CIcon icon={cilUser} />
|
||||
</CInputGroupText>
|
||||
<CFormInput
|
||||
placeholder="Username"
|
||||
autoComplete="username"
|
||||
placeholder="Member ID"
|
||||
autoComplete="memberId"
|
||||
value={memberId}
|
||||
onChange={(e) => setMemberId(e.target.value)}
|
||||
/>
|
||||
@@ -99,27 +99,21 @@ const Login = () => {
|
||||
/>
|
||||
</CInputGroup>
|
||||
<CRow>
|
||||
<CCol xs={6}>
|
||||
<CButton color="primary" className="px-4" type="submit" disabled={loading}>
|
||||
<CCol xs={12}>
|
||||
<CButton color="primary" className="w-100" type="submit" disabled={loading}>
|
||||
{loading ? 'Logging in...' : 'Login'}
|
||||
</CButton>
|
||||
</CCol>
|
||||
<CCol xs={6} className="text-right">
|
||||
<CButton color="link" className="px-0">
|
||||
Forgot password?
|
||||
</CButton>
|
||||
</CCol>
|
||||
</CRow>
|
||||
</CForm>
|
||||
</CCardBody>
|
||||
</CCard>
|
||||
<CCard className="text-white bg-primary py-5" style={{ width: '44%' }}>
|
||||
<CCard className="text-white bg-primary py-5">
|
||||
<CCardBody className="text-center">
|
||||
<div>
|
||||
<h2>Sign up</h2>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
tempor incididunt ut labore et dolore magna aliqua.
|
||||
신규 사용자의 경우, 가입신청 후 권한을 부여받아야 접속 가능합니다.
|
||||
</p>
|
||||
<Link to="/register">
|
||||
<CButton color="primary" className="mt-3" active tabIndex={-1}>
|
||||
|
||||
Reference in New Issue
Block a user