Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
reservation-service
Commits
50396977
Commit
50396977
authored
Nov 05, 2020
by
Choi Ga Young
Browse files
해결전
parent
94e62592
Changes
2
Show whitespace changes
Inline
Side-by-side
server/client/src/Pages/ApplyPage.js
View file @
50396977
...
...
@@ -140,6 +140,8 @@ function Apply(props) {
dateFormat
=
"
yyyy.MM.dd
"
placeholderText
=
"
yyyy-mm-dd
"
minDate
=
{
new
Date
()}
disabledDays
=
{[{
daysOfWeek
:
[
0
,
6
]
}]}
/
>
{
/*<div className={touched.date && errors.date ? "text-danger" : ""}>신청날짜</div>
<input
...
...
server/routes/login.js
View file @
50396977
...
...
@@ -37,7 +37,7 @@ router.post('/', function (req, res, next) {
const
token
=
jwt
.
sign
({
id
:
users
.
id
,
},
process
.
env
.
JWT_SECRET
,
{
expiresIn
:
'
30m
'
,
expiresIn
:
'
1h
'
,
});
return
res
.
status
(
201
).
json
({
token
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment