Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PMRMS Auth
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ghitha Dinan
PMRMS Auth
Commits
dbaf13e1
Commit
dbaf13e1
authored
Jan 10, 2022
by
Ghitha Dinan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change secret
parent
4c029f64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
FileConstant.kt
...d/go/kemenag/madrasah/pmrms/auth/constant/FileConstant.kt
+1
-1
SecurityConstant.kt
.../kemenag/madrasah/pmrms/auth/constant/SecurityConstant.kt
+1
-1
No files found.
src/main/kotlin/id/go/kemenag/madrasah/pmrms/auth/constant/FileConstant.kt
View file @
dbaf13e1
...
...
@@ -5,4 +5,4 @@ import java.io.File
const
val
ROOT_DIR
=
"D:\\app-files\\pmrms\\files\\"
val
UPLOAD_DIR
=
"${ROOT_DIR}uploads${File.separator}"
val
UPLOAD_USER_DIR
=
"${UPLOAD_DIR}users"
val
UPLOAD_USER_DIR
=
"${UPLOAD_DIR}users"
src/main/kotlin/id/go/kemenag/madrasah/pmrms/auth/constant/SecurityConstant.kt
View file @
dbaf13e1
package
id.go.kemenag.madrasah.pmrms.auth.constant
const
val
EXPIRATION_TIME
:
Long
=
864000000
// 10 days (1 hour = 3600000)
const
val
SECRET
=
"
INOVASI-DAERAH
"
const
val
SECRET
=
"
PMRMS-2022
"
const
val
TOKEN_PREFIX
=
"Bearer "
const
val
HEADER_STRING
=
"Authorization"
...
...
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